[jQuery] Re: Code works in Safari ONLY

2008-02-15 Thread Leonardo K
There is a plugin that does what u want. http://www.ndoherty.com/demos/coda-slider/1.1.1/

[jQuery] Re: Code works in Safari ONLY

2008-02-15 Thread LeonL
Thanks Brian! It works great now, the problem was the hyphenated properties, I had no idea that I should have written those in camel case. Thank you very much :handshake: Leon. Brian Cherne wrote: Actually, the += and -= are perfectly legit for the animate method. They allow you to animate

[jQuery] Re: Code works in Safari ONLY

2008-02-15 Thread Halid Said Altuner
thanks :) 2008/2/15, Leonardo K [EMAIL PROTECTED]: There is a plugin that does what u want. http://www.ndoherty.com/demos/coda-slider/1.1.1/

[jQuery] Re: Code works in Safari ONLY

2008-02-15 Thread LeonL
I wish I new that yesterday.. :confused: Thanks. Leonardo K wrote: There is a plugin that does what u want. http://www.ndoherty.com/demos/coda-slider/1.1.1/ -- View this message in context: http://www.nabble.com/Code-works-in-Safari-ONLY-tp15489385s27240p15502122.html Sent from

[jQuery] Re: Code works in Safari ONLY

2008-02-14 Thread andrea varnier
$(.items).animate({margin-left:+=+amount+px},slow); I really hope you can help me, I had never encountered this problem before. try and take away those '+=', you wouldn't write a css rule like this margin-left: +=300px; :)

[jQuery] Re: Code works in Safari ONLY

2008-02-14 Thread Brian Cherne
Actually, the += and -= are perfectly legit for the animate method. They allow you to animate a property relative to its current value. http://docs.jquery.com/Effects/animate I believe the margin-left is the throwing it off. Somewhere in the docs it mentions hyphenated properties should be

[jQuery] Re: Code works in Safari ONLY

2008-02-14 Thread andrea varnier
On Feb 15, 12:19 am, Brian Cherne [EMAIL PROTECTED] wrote: Actually, the += and -= are perfectly legit for the animate method. They allow you to animate a property relative to its current value.http://docs.jquery.com/Effects/animate ooops, I'm sorry I didn't know that :)