diff --git a/index.js b/index.js new file mode 100644 index 0000000..2f9431f --- /dev/null +++ b/index.js @@ -0,0 +1,26 @@ +$("#pro").hover( + function(){ + $("#pro1").css("display", "none"); + $("#pro2").css("display", "block"); + }, function(){ + $("#pro1").css("display", "block"); + $("#pro2").css("display", "none"); +}); + +$("#full").hover( + function(){ + $("#full1").css("display", "none"); + $("#full2").css("display", "block"); + }, function(){ + $("#full1").css("display", "block"); + $("#full2").css("display", "none"); +}); + +$("#cad").hover( + function(){ + $("#cad1").css("display", "none"); + $("#cad2").css("display", "block"); + }, function(){ + $("#cad1").css("display", "block"); + $("#cad2").css("display", "none"); +});