ThomasStarck (Talk | contribs) |
ThomasStarck (Talk | contribs) |
||
Line 159: | Line 159: | ||
if ($(this).prev().css("display") == "none") { | if ($(this).prev().css("display") == "none") { | ||
$(this).prev().fadeIn(500); | $(this).prev().fadeIn(500); | ||
− | $(this).css("opacity", "1"); | + | $(this).css("opacity", "1").transition(500); |
$(this).next().fadeIn(2000); | $(this).next().fadeIn(2000); | ||
} | } | ||
else { | else { | ||
$(this).prev().fadeOut(2000); | $(this).prev().fadeOut(2000); | ||
− | $(this).css("opacity", ".4"); | + | $(this).css("opacity", ".4").transition(2000); |
$(this).next().fadeOut(500); | $(this).next().fadeOut(500); | ||
} | } |
Revision as of 15:22, 4 September 2018