Home › Forums › JavaScript › jQuery Toggle › Re: jQuery Toggle
July 22, 2011 at 6:57 pm
#83810
Participant
Fix: http://jsfiddle.net/ZAPwD/
$(".slider2").hide();
$("a.slider").click(function() {
$(".slider2").fadeIn("slow", "linear");
$(".slider1").fadeOut("slow", "linear");
});
$("a.fader").click(function () {
$(".slider1").fadeIn("slow", "linear");
$(".slider2").fadeOut("slow", "linear");
});