On 3/27/07, David Dexter <[EMAIL PROTECTED]> wrote:

Have a look at the hover() function it does exactly what you are looking
for.


Actually, it doesn't. hover() expects two different functions. From the API
docs:

"Whenever the mouse cursor is moved over a matched element, the first
specified function is fired. Whenever the mouse moves off of the element,
the second specified function fires."

Source: http://docs.jquery.com/Events#hover.28_over.2C_out_.29

What Josh wants to do is bind the *exact same function* to do different
events (which is what I showed him how to do).

--
Aaron Heimlich
Web Developer
[EMAIL PROTECTED]
http://aheimlich.freepgs.com
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to