Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript jQuery Toggle Re: jQuery Toggle

#83810
chrisburton
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");
});