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