[jQuery] Re: animations; browser problem or bad code?

2009-02-04 Thread re5et
awesome. thanks a million times, I would never have thought of that.

[jQuery] Re: animations; browser problem or bad code?

2009-02-04 Thread re5et
btw, I fixed the "Could not get the display property. Invalid argument" error. but that didn't help either...

[jQuery] Re: animations; browser problem or bad code?

2009-02-04 Thread re5et
will do what you suggested about the content loading, thanks! I temporarily disabled the content loading but it didn't have any effect on the animations :(

[jQuery] Re: animations; browser problem or bad code?

2009-02-04 Thread re5et
uh that's odd, I don't get any errors in FF (except Warning: Error in parsing value for property 'opacity'. Declaration dropped.) I know it's not usable in IE6 as I haven't done anything towards IE compatibility yet. thanks for telling me about the error, though. so... does it work for everyon

[jQuery] animations; browser problem or bad code?

2009-02-03 Thread re5et
so, the animations on my site http://www.omnex.at/modx/ work perfectly in IE7 but not in FF2, FF3 and opera9. the main menu (the big letters) should smoothly open and close when you navigate the site, which it does only in IE7 - in FF and opera, the 'closing' animation almost never works, the 'op

[jQuery] Re: Beginner Q: setTimeout on multiple objects

2009-02-02 Thread re5et
thanks for the reply, someone on IRC also told me what the problem was :) a side-question, though: when using the fadein and fadeout effects, is it normal that errors like this pile up: Warning: Error in parsing value for property 'opacity'. Declaration dropped. It works like a charm but the e

[jQuery] Re: Beginner Q: setTimeout on multiple objects

2009-02-02 Thread re5et
this is what someone on the IRC channel said: You create n flicker timeouts, which all turn off/on the animatedLink item. Which is always the extra image. The callback is not "compiled" until it's invoked. And when it is, animatedLink is always the extra image. what does that mean?

[jQuery] Re: Beginner Q: setTimeout on multiple objects

2009-02-02 Thread re5et
sorry for double post, didn't know that it takes so long for it to appear :/

[jQuery] Beginner Q: setTimeout on multiple objects

2009-02-02 Thread re5et
I have several images that I'd like to fade in and out randomly and independently from each other. This is the code I have so far, but the only thing that happens is the last image blinking three times. I'm guessing that I shouldn't use the same variable (t) for every animation but I don't really

[jQuery] Beginner Q: setTimeout on multiple objects

2009-02-02 Thread re5et
I have 5 images which I want to fade in and out randomly and independently from each other. This is the code I have so far: $('.main_nav img').each(function() { $(this).css("opacity", 0); animatedLink = this; t = setTimeout("timedAnim(animatedLink)