Difference between revisions of "Template:HokkaidoU Japan/js"

Line 6: Line 6:
 
function () {
 
function () {
 
$("#tab1 img").attr({"src":"https://static.igem.org/mediawiki/2015/f/fb/Hokkaidou_tab_on_sample.png"});
 
$("#tab1 img").attr({"src":"https://static.igem.org/mediawiki/2015/f/fb/Hokkaidou_tab_on_sample.png"});
$("#video1").hide();
+
$("#video1").show();
 
$("#video2").hide();
 
$("#video2").hide();
 +
$("#video3").hide();
 
},
 
},
 
function () {
 
function () {
Line 17: Line 18:
 
function () {
 
function () {
 
$("#tab2 img").attr({"src":"https://static.igem.org/mediawiki/2015/f/f8/Hokkaidou_tab_on_sample1.png"});
 
$("#tab2 img").attr({"src":"https://static.igem.org/mediawiki/2015/f/f8/Hokkaidou_tab_on_sample1.png"});
$("#video1").show();
+
$("#video1").hide();
$("#video2").hide();
+
$("#video2").show();
 +
$("#video3").hide();
 
},
 
},
 
function () {
 
function () {
Line 29: Line 31:
 
$("#tab3 img").attr({"src":"https://static.igem.org/mediawiki/2015/f/f7/Hokkaidou_tab_on_sample2.png"});
 
$("#tab3 img").attr({"src":"https://static.igem.org/mediawiki/2015/f/f7/Hokkaidou_tab_on_sample2.png"});
 
$("#video1").hide();
 
$("#video1").hide();
$("#video2").show();
+
$("#video2").hide();
 +
$("#video3").show();
 
},
 
},
 
function () {
 
function () {

Revision as of 05:55, 4 September 2015