[jQuery] Re: Pointers to disable default function if JS is enabled

2009-03-22 Thread Mike Fratto
Thanks. That's it. My code isn't too OO or jQueryish. I know. I'm more of a procedural guy. I have to spend more time with jQuery before I grokking will come. The event handler does open and close the properly. The golbal anaimate function is defined below the click handler. I am going to read t

[jQuery] Re: Pointers to disable default function if JS is enabled

2009-03-22 Thread T.J. Crowder
Hi Mike, I'm not following what's going on inside your click handler, apologies if I'm misreading it but it looks like it would fail as is (do you really have a global animate() function, for instance?). Also, you're not declaring the 'event' parameter, which makes it awkward (though not impossi