PDA

View Full Version : help with mouseover event please


allan smith
06-02-2008, 04:00 PM
I put this in JScript - but I suspect someone cleverer than me may have a solution using only CSS.

Please take a look at http://www.telfordsteamrailway.co.uk/newstructure/newlayout.php
On the right are 2 moving images with desriptive text above each.
Normally I would use 'title' to display a helper text when the mouse moves over an image. However the lower 'object' has a 'title' defined - but IE and FF dont display the 'title' text.:eek:

I wondered if 'mouseover' and 'mouseout' could be made to have the same effect - perhaps by changing the Z layer to hide/show the text, or even trigger the 'title' display.
I have checked that 'onmouseover' works - the upper image will open an alert box when the mouse moves over it.
(previous thread closed http://www.htmlforums.com/client-side-scripting/t-help-with-ac-fl-runcontent-querystring-103914.html - this is a change of direction to solve the problem )

Anyone any ideas?

Help appreciated