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"}); | ||
+ | $("#video1").hide(); | ||
+ | $("#video2").hide(); | ||
+ | }, | ||
+ | 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"}); | ||
+ | $("#video1").show(); | ||
+ | $("#video2").hide(); | ||
+ | }, | ||
+ | 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"}); | ||
+ | $("#video1").hide(); | ||
+ | $("#video2").show(); | ||
+ | }, | ||
+ | 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:47, 4 September 2015