Line 70: | Line 70: | ||
$("#four").css('display', 'none'); | $("#four").css('display', 'none'); | ||
n = 2;} | n = 2;} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
else if (n==3) { | else if (n==3) { | ||
$('#two').animate({'right':'10%'}, 500); | $('#two').animate({'right':'10%'}, 500); | ||
− | $("#one").animate({'left':'110%'}, 500 | + | $("#one").animate({'left':'110%'}, 500);} |
− | + | ||
− | + | ||
else if (n==4) { | else if (n==4) { | ||
− | $( | + | $('#three').animate({'right':'10%'}, 500); |
− | + | $("#two").animate({'left':'110%'}, 500);} | |
− | $("#two"). | + | |
− | + | ||
else if (n==5) { | else if (n==5) { | ||
− | $( | + | $('#four').animate({'right':'10%'}, 500); |
− | + | $("#three").animate({'left':'110%'}, 500);} | |
− | + | ||
− | $("#three"). | + | |
}); | }); | ||
Revision as of 17:37, 15 August 2016
>
<