Create index.js

This commit is contained in:
Robert Jeutter 2019-03-18 20:11:10 +01:00 committed by GitHub
parent 0fc3b05dba
commit 08cb1264c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

26
index.js Normal file
View File

@ -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");
});