Hi,
I've made a sliding gallery which works well enough, but I'm currently having to use a lot of conditional statements to work out where the images need to be animated. Is there a way to use variable within the animation function? E.g. $(whatever).animate({variable: '200px'}, 200); If I replace the variable with a hard-coded css property then it works fine. Any suggestions would be greatly appreciated. -- View this message in context: http://www.nabble.com/Using-variables-with-animate%28%29-tp19975977s27240p19975977.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.