Html/Javascript problem

Discussion in 'HTML & Website Design' started by Spider-Man, Feb 4, 2008.

  1. #1
    Hi. I am using Actinic E-commerce software which generates html pages for my site. The url is the 'Carlton Conservatories' link in my signature.

    The navigation images, when hovered over, should switch to a brighter image of the same style using the onmouseover javascript function.

    However, it doesn't appear to work - as the images are always the 'faded' image, not the highlighted image.

    Can someone please take a look and see if they can solve the mystery?

    Thank you.
     
    Spider-Man, Feb 4, 2008 IP
  2. Possibility

    Possibility Peon

    Messages:
    350
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    0
    #2
    My browser shows no javascript errors. I tried looking at your source code but it is a little unreadable I guess because of how the system generates HTML pages. Basically a rollover should look like this:

    <img src="image1.gif" onMouseOver="this.src='image2.gif'; return true;" onMouseOut="this.src='image1.gif'; return true;" />
    Code (markup):
     
    Possibility, Feb 4, 2008 IP