[jQuery] Re: highlighting elements of the page

2008-11-21 Thread Karl Swedberg
Try using the .hover() method instead. http://docs.jquery.com/Events/hover#overout From the docs: Additionally, checks are in place to see if the mouse is still within the specified element itself (for example, an image inside of a div), and if it is, it will continue to 'hover', and not mo

[jQuery] Re: highlighting elements of the page

2008-11-19 Thread Liam Potter
if they are all highlighted with the same color, surely you can't tell if they both have the bg applied? [EMAIL PROTECTED] wrote: Hi, I'm trying to highlights elements of the page on mouseover. I want to highlight all td's h1's and p's when the mouse is over. $("td, h1, p").mouseover(functi