[jQuery] Re: "Tieing" elements together for a mouseout

2007-07-30 Thread oliver
I don't know how your page is structured: but it is possible to give both elements a single common ancestor (which is itself not visible), then you could put the mouseout handler on that item. It would fire if a mouseout occurred on either child. as for creating a timeout event: the window.setTi

[jQuery] Re: "Tieing" elements together for a mouseout

2007-07-29 Thread George
Could you try binding the same function their mouseover/out events (or jQuery's hover event) Then inside that function, look at the event.target and event.relatedTarget to work out whether the mouse if simply moving between the two elements or actually entering/leaving them. George On Jul 29, 6