Template:Team:IBB Pune/slideshow
From 2009.igem.org
(Difference between revisions)
Line 1: | Line 1: | ||
- | <html><a href="javascript:gotoshow()"><img src="food1.jpg" name="slide" border=0 width=300 height=375></a> | + | <html><head> |
+ | <script language="JavaScript1.1"> | ||
+ | <!-- | ||
+ | |||
+ | /* | ||
+ | JavaScript Image slideshow: | ||
+ | By JavaScript Kit (www.javascriptkit.com) | ||
+ | Over 200+ free JavaScript here! | ||
+ | */ | ||
+ | |||
+ | var slideimages=new Array() | ||
+ | var slidelinks=new Array() | ||
+ | function slideshowimages(){ | ||
+ | for (i=0;i<slideshowimages.arguments.length;i++){ | ||
+ | slideimages[i]=new Image() | ||
+ | slideimages[i].src=slideshowimages.arguments[i] | ||
+ | } | ||
+ | } | ||
+ | |||
+ | function slideshowlinks(){ | ||
+ | for (i=0;i<slideshowlinks.arguments.length;i++) | ||
+ | slidelinks[i]=slideshowlinks.arguments[i] | ||
+ | } | ||
+ | |||
+ | function gotoshow(){ | ||
+ | if (!window.winslide||winslide.closed) | ||
+ | winslide=window.open(slidelinks[whichlink]) | ||
+ | else | ||
+ | winslide.location=slidelinks[whichlink] | ||
+ | winslide.focus() | ||
+ | } | ||
+ | |||
+ | //--> | ||
+ | </script> | ||
+ | |||
+ | </head> | ||
+ | <a href="javascript:gotoshow()"><img src="food1.jpg" name="slide" border=0 width=300 height=375></a> | ||
<script> | <script> | ||
<!-- | <!-- |