[Javascript] What was last rollover?

tedd tedd at sperling.com
Fri Oct 5 08:51:32 CDT 2007


At 7:32 PM +0100 10/4/07, Nick Fitzsimons wrote:
>On 4 Oct 2007, at 19:07, tedd wrote:
>  > But, how can I determine which image was subject to the *last* 
>>  rollover?
>
>I haven't tested this but, assuming that the elements (not restricted
>to images) have id attributes, you can do something like:
>
>-snip-


Nick:

Your code was exceedingly cool and works sweet!

Mondo thanks.


>BTW, your hover states won't work in IE6 as that only supports hover
>on links :-(

That's unfortunate, but not essential. It appears that IE6 users will 
be without the visual clues that users with better browsers will 
enjoy.

Also, thanks to the others who responded -- you guys are great!

Cheers,

tedd

-- 
-------
http://sperling.com  http://ancientstones.com  http://earthstones.com



More information about the Javascript mailing list