Email conversation
From | Martin Thompson |
To | Me |
Subject | Automated image rollover script problem |
Date | 25 November 2008 17:36 |
Hi,
I'm having a problem getting the imgRoll.js script to do anything on a
website I'm developing. It is only set for the Home button on the index.php
page of the site at the moment but it isn't apparently doing anything. Is it
a problem that it is being associated with an image map statement (the call
is on the first line with class="navtab" on it)?
The page is here:
[URL]
I get the same problem with Firefox 3, IE6 and 7, Opera & Safari. That is,
the hover image is not displayed. Basically I want the image to change and
the navigation to work...
Thanks in advance,
Martin Thompson.
From | Me |
To | Martin Thompson |
Subject | Re: Automated image rollover script problem |
Date | 29 November 2008 10:09 |
Martin,
> Is it a problem that it is being associated with an image map statement
Yes, it seems that no browser will allow me to attach a mouseover event
listener to an image that has a usemap attribute.
Aside from that, the script is supposed to go before the </body> tag,
not in the HEAD. However, fixing that will not help you because
fundamentally, it cannot work with image maps. A pity, but there's
nothing I can do to fix that, I am afraid.
Mark 'Tarquin' Wilton-Jones - author of http://www.howtocreate.co.uk/