PDA

View Full Version : event to be fired if mouse passes over text under an object


nikpmr
05-25-2009, 02:04 AM
Hello, I'm having a problem with a site I'm developing that uses heavy DOM javascript.

My goal is for text with a certain SPAN class to be highlighted blue when the mouse passes over it.
Sounds easy, right? Not necessarily-- the catch is that sometimes, DIV boxes are on top of the text that I'm trying to change, so even if the mouse is resting on top of the text, the desired event is not fired because the cursor is registered as being on top of the DIV element, not the text.

What I want to do is make it so that whenever the mouse is hovering over obstructed text, the obstructions disappear, so that the text is clickable.

Any help would be appreciated. This has been bugging me for a while now.
Here is a link to my project: click here (http://artistsapprentice.com/m/web-publisher/profile1/?m=e)
Notice that the pictures already are highlighted blue when moused over, but not the text. Please help, thanks!! :)

Kor
05-27-2009, 12:31 PM
the catch is that sometimes, DIV boxes are on top of the text that I'm trying to change, [...] so even if the mouse is resting on top of the text[...]

Can you be more descriptive, please? When the mouse is resting on top of which text (in your page)