Team:WHU-China
From 2013.igem.org
(Difference between revisions)
IgnatzZeng (Talk | contribs) |
IgnatzZeng (Talk | contribs) |
||
Line 85: | Line 85: | ||
var step=1 | var step=1 | ||
function stepplus(){ | function stepplus(){ | ||
- | + | ||
step++ | step++ | ||
if(step>2) | if(step>2) | ||
step=3 | step=3 | ||
+ | |||
+ | //return results | ||
+ | document.images.slide.src=eval("image"+step+".src") | ||
} | } | ||
function stepminus(){ | function stepminus(){ | ||
- | + | ||
step-- | step-- | ||
if(step<2) | if(step<2) | ||
step=1 | step=1 | ||
+ | //return results | ||
+ | document.images.slide.src=eval("image"+step+".src") | ||
} | } | ||
//--> | //--> |
Revision as of 04:05, 21 September 2013