Difference between revisions of "Team:Valencia UPV/mainjava"
(24 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
$(document).ready(function (){ | $(document).ready(function (){ | ||
$(".slider_text2").hide(); | $(".slider_text2").hide(); | ||
+ | $(".slider_text1").hide(); | ||
+ | $(".slider_text_p1").hide(); | ||
+ | $(".slider_text_p2").hide(); | ||
$(".slider").hover(function(){ | $(".slider").hover(function(){ | ||
− | $(".slider_text2").fadeIn(" | + | $(".slider_text2").fadeIn(1500); |
+ | $(".slider_text_p2").fadeIn(1500); | ||
},function(){ | },function(){ | ||
$(".slider_text2").fadeOut(); | $(".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(); | ||
}); | }); | ||
}); | }); |
Latest revision as of 14:08, 18 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(); });
});