[jQuery] Re: jQuery not working after loading content via Ajax .load

2008-05-11 Thread jkab
Ariel Flesler wrote: > > > Cool, don't combine with LiveQuery, specially with the option lazy on, > or it'll get called many times. LocalScroll can handle just fine by > itself. > > You MUST preserve the element you call LocalScroll on among the > loadings. > Below it, you can change w/e yo

[jQuery] Re: jQuery not working after loading content via Ajax .load

2008-05-11 Thread Ariel Flesler
Cool, don't combine with LiveQuery, specially with the option lazy on, or it'll get called many times. LocalScroll can handle just fine by itself. You MUST preserve the element you call LocalScroll on among the loadings. Below it, you can change w/e you want. If the 'target' is a selector, it ca

[jQuery] Re: jQuery not working after loading content via Ajax .load

2008-05-11 Thread jkab
Ariel, Wow.. I was unaware of the Ajax demo within the jQuery LocalScroll plugin. I had only visited the regular demo. I'm definitely going to spend some time studying the syntax in this demo page. Thanks so much, Ariel. I've also looked into LiveQuery and will try this out as well. Thanks al

[jQuery] Re: jQuery not working after loading content via Ajax .load

2008-05-10 Thread Ariel Flesler
Odd.. the site includes ScrollTo but can't find where it is used. LocalScroll supports dynamic content, by setting the option 'lazy' to true. That means, dynamic "items" and dynamic links too. Check the AJAX demo, it's certainly dynamic. http://flesler.webs.com/jQuery.LocalScroll/ajax/ Cheers

[jQuery] Re: jQuery not working after loading content via Ajax .load

2008-05-10 Thread Sid
I had the same problem, and from the looks of it, almost everyone does atleast once. I use liveQuery and its working perfectly well for me. Just download the js file from the plugins page and check the examples provided. Fairly straightforward.