the first part is very clear, the second one I'm not sure that I understand: do you mean looping through the elements and modifying their tags by adding an onmouseover="myfunction()"...?
I'm not sure this will work, bceause the elements in my page are added dinamically by server scripts (that I cannot change), I think with Ajax or ASP.NET. Is there not a way to find out if I'm over them without needing to alter their tags, meaninng: whitout having to use the onmouseover event handler?
Yes... but it would be such a bad solution, really unworkable, especially if there are many elements on the page.
It'd be basically attaching an onmousemove event to the document, and every step looping through all elements determining whether the cursor is over each. Ugly, ugly, ugly - you don't want to do that.
Dan
Coedit Limited - Delivering standards compliant, accessible web solutions
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.