Difference between revisions of "Team:Valencia UPV/mainjava"
Line 8: | Line 8: | ||
$(".slider_text_p2").fadeIn(1500); | $(".slider_text_p2").fadeIn(1500); | ||
},function(){ | },function(){ | ||
− | $(".slider_text2").fadeOut( | + | $(".slider_text2").fadeOut(); |
− | $(".slider_text_p2").fadeOut( | + | $(".slider_text_p2").fadeOut(); |
}); | }); | ||
$(".right").hover(function(){ | $(".right").hover(function(){ | ||
Line 15: | Line 15: | ||
$(".slider_text_p1").fadeIn(1500); | $(".slider_text_p1").fadeIn(1500); | ||
},function(){ | },function(){ | ||
− | $(".slider_text1").fadeOut( | + | $(".slider_text1").fadeOut(); |
− | $(".slider_text_p1").fadeOut( | + | $(".slider_text_p1").fadeOut(); |
}); | }); | ||
}); | }); |
Revision as of 16:34, 14 September 2015
$(document).ready(function (){
$(".slider_text2").hide(); $(".slider_text1").hide(); $(".slider_text_p1").hide(); $(".slider_text_p2").hide(); $(".slider").hover(function(){ $(".slider_text2").fadeIn(1500); $(".slider_text_p2").fadeIn(1500); },function(){ $(".slider_text2").fadeOut(); $(".slider_text_p2").fadeOut(); }); $(".right").hover(function(){ $(".slider_text1").fadeIn(1500); $(".slider_text_p1").fadeIn(1500); },function(){ $(".slider_text1").fadeOut(); $(".slider_text_p1").fadeOut(); });
});