Need 1.2.6 to 1.3.2 update help
Hi everybody!
I've used the following script for a long time and wanted to update it to work with jquery 1.3.2.
But I am not sure what has changed.
-
$(document).ready(function() {
$("li.switch1").hover(function(){
$("#switcher #pill").stop(true, true);
$("#switcher #pill").animate( { left: "2px" }, 250);
$(".scroll").animate( { left: "0px" }, 350);
$("#steps li.step1").fadeIn("slow");
$("#steps li.step2").fadeOut("fast");
},
function(){$(this).addClass("done");
});
$("li.switch2").hover(function(){
$("#switcher #pill").stop(true, true);
$("#switcher #pill").animate( { left: "92px" }, 250);
$(".scroll").animate( { left: "-225px" }, 350);
$("#steps li.step1").fadeOut("fast");
$("#steps li.step2").fadeIn("slow");
},
function(){$(this).addClass("done");
});
});
It's a slider changing a text box.
Would be nice if somebody could give me a hand.
Thanks!