Team:Panama INDICASAT

From 2012.igem.org

(Difference between revisions)
Line 43: Line 43:
</script>
</script>
-
<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>
 
<style type="text/css">
<style type="text/css">
Line 231: Line 198:
<div id="image10" style="position:absolute; overflow:hidden; left:553px; top:581px; width:93px; height:116px; z-index:17"><a href="http://biotaetscientia.wordpress.com"><img src="https://static.igem.org/mediawiki/2012/e/e8/IGEM_-_Notebook.jpg" alt="" title="" border=0 width=93 height=116></a></div>
<div id="image10" style="position:absolute; overflow:hidden; left:553px; top:581px; width:93px; height:116px; z-index:17"><a href="http://biotaetscientia.wordpress.com"><img src="https://static.igem.org/mediawiki/2012/e/e8/IGEM_-_Notebook.jpg" alt="" title="" border=0 width=93 height=116></a></div>
-
 
-
<a href="javascript:gotoshow()"><img src="https://static.igem.org/mediawiki/2012/8/88/015.jpg" name="slide" border=0 width=522 height=303></a>
 
-
<script>
 
-
<!--
 
-
 
-
//configure the paths of the images, plus corresponding target links
 
-
slideshowimages("015.jpg","IGEM-Slideshow-001.jpg","IGEM-Slideshow-004.jpg","IGEM-Slideshow-002.jpg")
 
-
slideshowlinks("https://static.igem.org/mediawiki/2012/8/88/015.jpg","https://static.igem.org/mediawiki/2012/d/da/IGEM_-_Slideshow_-_001.jpg","https://static.igem.org/mediawiki/2012/3/36/IGEM_-_Slideshow_-_004.jpg","https://static.igem.org/mediawiki/2012/d/d3/IGEM_-_Slideshow_-_002.jpg")
 
-
 
-
//configure the speed of the slideshow, in miliseconds
 
-
var slideshowspeed=2000
 
-
 
-
var whichlink=0
 
-
var whichimage=0
 
-
function slideit(){
 
-
if (!document.images)
 
-
return
 
-
document.images.slide.src=slideimages[whichimage].src
 
-
whichlink=whichimage
 
-
if (whichimage<slideimages.length-1)
 
-
whichimage++
 
-
else
 
-
whichimage=0
 
-
setTimeout("slideit()",slideshowspeed)
 
-
}
 
-
slideit()
 
-
 
-
//-->
 
-
</script>
 
-
<p align="center"><font face="arial" size="-2">This free script provided by</font><br>
 
-
<font face="arial, helvetica" size="-2"><a href="http://javascriptkit.com">JavaScript
 
-
Kit</a></font></p>
 
</body>
</body>
</html>
</html>

Revision as of 00:46, 26 September 2012