[jQuery] Re: crazy if... !not working.

2009-06-23 Thread Liam Potter
wouldn't it make more sense to do this $(function(){ $(a.thumb).fancybox(); }); umcosta wrote: Ok, here is what I want to do (extracted from: http://docs.jquery.com/Traversing/hasClass): script src=http://code.jquery.com/jquery-latest.js;/script script $(document).ready(function(){

[jQuery] Re: crazy if... !not working.

2009-06-23 Thread Liam Potter
nevermind, seen you already got this Liam Potter wrote: wouldn't it make more sense to do this $(function(){ $(a.thumb).fancybox(); }); umcosta wrote: Ok, here is what I want to do (extracted from: http://docs.jquery.com/Traversing/hasClass): script

[jQuery] Re: crazy if... !not working.

2009-06-22 Thread umcosta
ok guys... sorry for the inconvenient. Here is the solution in case someone needs: script type=text/javascript src=scripts/jquery.js/script script type=text/javascript src=scripts/ jquery.localscroll.js/script script type=text/javascript src=scripts/jquery.scrollto.js/ script

[jQuery] Re: crazy if... !not working.

2009-06-22 Thread Charlie
you're loading jquery twice. Remove top one, not recommended to serve it from jquery site, put your animation script below your local version of jquery should work then umcosta wrote: Ok, here is what I want to do (extracted from: http://docs.jquery.com/Traversing/hasClass): script