Team:Panama INDICASAT
From 2012.igem.org
(Difference between revisions)
Line 1: | Line 1: | ||
<html> | <html> | ||
<head> | <head> | ||
- | |||
<script language="JavaScript1.4" type="text/javascript"> | <script language="JavaScript1.4" type="text/javascript"> | ||
<!-- | <!-- | ||
Line 39: | Line 38: | ||
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3) | var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3) | ||
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];} | if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];} | ||
+ | } | ||
+ | |||
+ | //--> | ||
+ | </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() | ||
} | } | ||
Line 218: | Line 251: | ||
<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="" name="slide" border=0 width=300 height=375></a> | ||
+ | <script> | ||
+ | <!-- | ||
+ | |||
+ | //configure the paths of the images, plus corresponding target links | ||
+ | slideshowimages("food1.jpg","food2.jpg","food3.jpg","food4.jpg","food5.jpg") | ||
+ | slideshowlinks("http://food.epicurious.com/run/recipe/view?id=13285","http://food.epicurious.com/run/recipe/view?id=10092","http://food.epicurious.com/run/recipe/view?id=100975","http://food.epicurious.com/run/recipe/view?id=2876","http://food.epicurious.com/run/recipe/view?id=20010") | ||
+ | |||
+ | //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> | ||
</html> | </html> |
Revision as of 23:55, 25 September 2012
![](https://static.igem.org/mediawiki/2012/1/13/Shape47720627.png)
![](https://static.igem.org/mediawiki/2012/2/25/Paste1.jpg)
![](https://static.igem.org/mediawiki/2012/a/a8/Rect49024914.png)
![](https://static.igem.org/mediawiki/2012/0/0f/Imageline2.gif)
![](https://static.igem.org/mediawiki/2012/1/1e/IGEM_-_1.jpg)
![](https://static.igem.org/mediawiki/2012/0/0f/Imageline2.gif)
![](https://static.igem.org/mediawiki/2012/e/ec/DNA_-_Band.jpg)
![](https://static.igem.org/mediawiki/2012/e/e5/Paste2.jpg)
![](https://static.igem.org/mediawiki/2012/3/36/Image_line62.gif)
![](https://static.igem.org/mediawiki/2012/3/36/Image_line62.gif)
This free script provided by
JavaScript
Kit