[jQuery] $(document).ready doesn't pass document

2007-08-20 Thread Cybolic
I'm trying to get a site using iframes working, and for that I do the following: $(frameDocument).ready(frameInit); where frameInit is a function that sets up the logic for the page in the frame. I'd like to be able to just use normal queries like $('a') in frameInit instead of queries like $('

[jQuery] Re: stop animation

2007-08-19 Thread Cybolic
OTECTED]> wrote: > > > > That code doesn't work - it doesn't stop any animations, it only > > > clears the animation queue (stopping any future queued animations). > > > > You can't build a true stop animation without modifying jQuery core. > >

[jQuery] Re: stop animation

2007-08-18 Thread Cybolic
anks a ton. > > When i whip out a small utility plugin outta this, i will be glad to add you > as co-author. ;-) > > -GTG > > On 8/17/07, Cybolic <[EMAIL PROTECTED]> wrote: > > > > > You can start and stop an animation like so: > > > // start &

[jQuery] Re: stop animation

2007-08-18 Thread Cybolic
confirmed it, and thanks a ton. > > When i whip out a small utility plugin outta this, i will be glad to add you > as co-author. ;-) > > -GTG > > On 8/17/07, Cybolic <[EMAIL PROTECTED]> wrote: > > > > > You can start and stop an animation like so: > >

[jQuery] Re: problem with selector in IE

2007-08-18 Thread Cybolic
IE has problems with selectors on dynamic elements (elements created in script), but can handle classes just fine, so if you can change your code to hunt classes instead, that should work. ...or use Geneshjii's advice and see if you can't speed that up instead. Having class="srRow" on every tr a

[jQuery] Re: stop animation

2007-08-17 Thread Cybolic
You can start and stop an animation like so: // start $('#animationElement').animate({width: 50}, slow); // stop $.dequeue($('#animationElement').get(0), "fx"); You can of course define a helper for it like so: $.fn.stop = function(){ this.each(function(){ $.dequeue(this, "fx");