Difference between revisions of "Template:HokkaidoU Japan/js"
Line 5: | Line 5: | ||
$("#tab1").hover( | $("#tab1").hover( | ||
function () { | function () { | ||
− | $("#tab1 p").attr({"style":"background-color:# | + | $("#tab1 p").attr({"style":"background-color:#64BE1B"}); |
$("#video1").show(); | $("#video1").show(); | ||
$("#video2").hide(); | $("#video2").hide(); | ||
Line 11: | Line 11: | ||
}, | }, | ||
function () { | function () { | ||
− | $("#tab1 p").attr({"style":"background-color:# | + | $("#tab1 p").attr({"style":"background-color:#B7EF89"}); |
} | } | ||
); | ); | ||
Line 17: | Line 17: | ||
$("#tab2").hover( | $("#tab2").hover( | ||
function () { | function () { | ||
− | $("#tab2 p").attr({"style":"background-color:# | + | $("#tab2 p").attr({"style":"background-color:#64BE1B"}); |
$("#video1").hide(); | $("#video1").hide(); | ||
$("#video2").show(); | $("#video2").show(); | ||
Line 23: | Line 23: | ||
}, | }, | ||
function () { | function () { | ||
− | $("#tab2 p").attr({"style":"background-color:# | + | $("#tab2 p").attr({"style":"background-color:#84E4FD"}); |
} | } | ||
); | ); | ||
Line 29: | Line 29: | ||
$("#tab3").hover( | $("#tab3").hover( | ||
function () { | function () { | ||
− | $("#tab3 p").attr({"style":"background-color:# | + | $("#tab3 p").attr({"style":"background-color:#EBE601"}); |
$("#video1").hide(); | $("#video1").hide(); | ||
$("#video2").hide(); | $("#video2").hide(); | ||
Line 35: | Line 35: | ||
}, | }, | ||
function () { | function () { | ||
− | $("#tab3 p").attr({"style":"background-color:# | + | $("#tab3 p").attr({"style":"background-color:#84E4FD"}); |
} | } | ||
); | ); |
Revision as of 10:46, 17 September 2015