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

(Replaced content with "<html> <script type="text/javascript"> </script> </html>")
Line 3: Line 3:
 
<script type="text/javascript">
 
<script type="text/javascript">
  
$("#tab1").hover(
 
function () {
 
$("#tab1 img").attr({"src":"https://static.igem.org/mediawiki/2015/f/fb/Hokkaidou_tab_on_sample.png"});
 
$("#poster").attr({"poster":"https://static.igem.org/mediawiki/2015/8/82/Hokkaidou_sample_poster.png"});
 
$("#mp4").attr({"src":"https://static.igem.org/mediawiki/2015/7/76/Hokkaidou_sample_video.mp4"});
 
$("#webm").attr({"src":"#"});
 
$("#obb").attr({"src":"#"});
 
},
 
function () {
 
$("#tab1 img").attr({"src":"https://static.igem.org/mediawiki/2015/a/ad/Hokkaidou_tab_sample.png"});
 
}
 
);
 
  
$("#tab2").hover(
 
function () {
 
$("#tab2 img").attr({"src":"https://static.igem.org/mediawiki/2015/f/f8/Hokkaidou_tab_on_sample1.png"});
 
$("#poster").attr({"poster":"https://static.igem.org/mediawiki/2015/f/fc/Hokkaidou_sample_poster1.png"});
 
$("#mp4").attr({"src":"https://static.igem.org/mediawiki/2015/5/5d/Hokkaidou_sample_video1.mp4"});
 
$("#webm").attr({"src":"#"});
 
$("#obb").attr({"src":"#"});
 
},
 
function () {
 
$("#tab2 img").attr({"src":"https://static.igem.org/mediawiki/2015/7/7c/Hokkaidou_tab_sample1.png"});
 
}
 
);
 
 
$("#tab3").hover(
 
function () {
 
$("#tab3 img").attr({"src":"https://static.igem.org/mediawiki/2015/f/f7/Hokkaidou_tab_on_sample2.png"});
 
$("#poster").attr({"poster":"https://static.igem.org/mediawiki/2015/a/a1/Hokkaidou_sample_poster2.png"});
 
$("#mp4").attr({"src":"#"});
 
$("#webm").attr({"src":"#"});
 
$("#obb").attr({"src":"#"});
 
},
 
function () {
 
$("#tab3 img").attr({"src":"https://static.igem.org/mediawiki/2015/1/1b/Hokkaidou_tab_sample2.png"});
 
}
 
);
 
  
 
</script>
 
</script>
  
 
</html>
 
</html>

Revision as of 05:36, 4 September 2015