Yes I eventually did this thanks!
On Jul 3, 11:18 pm, "Joel Birch" <[EMAIL PROTECTED]> wrote: > Hi Mike, > > Does it work if you remove the inline JavaScript from the div and > instead attach the handlers like this: > > $(document).ready(function() { > $('div.zoom').hover( > function() { > setHoverState(this.id); > }, > function() { > setHoverState(this.id); > } > ); > > }); > > The .hover() function takes two arguments - the mouseover function and > the mouseout function, and it takes care of the types of problem you > seem to be describing, which is probably that mouseover is getting > confused when you hover over child elements, like the img for > instance. > > Joel Birch.