[jQuery] Re: bug with animate and a duration of 0 milliseconds?

2008-02-12 Thread arthur.lawry
Thanks, for now I'm just using 1 where I conceptually want to use 0. I thought it was just odd that the initial animation treated 0 as the duration in ms, but the hover-induced animation appeared to treat 0 as the boolean false. dave.methvin wrote: > > >> Class zero gets initially set to 40%

[jQuery] bug with animate and a duration of 0 milliseconds?

2008-02-11 Thread arthur.lawry
I noticed a bit of an oddity when playing around with the hover state of an object and animations that I'd like to describe. First, I'll give you some sample code. In my body, I have the following two links: [jQuery] link with mouseout after mousedown
I'm trying to get a piece of jquery to work without success. I'm using a link as the outermost structure so the element is in the tab-able elements, but I seem to be running into trouble with a link's default onmousedown or onmouseclick behaviors. The jquery: $("a").onmousedown(function(){