Template:Team:Oxford/scriptmain
From 2014.igem.org
(Difference between revisions)
(4 intermediate revisions not shown) | |||
Line 3: | Line 3: | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
- | |||
function iconleft(x) { | function iconleft(x) { | ||
x.style.left="6%"; | x.style.left="6%"; | ||
Line 139: | Line 138: | ||
} | } | ||
function iGEMEuropebig(x) { | function iGEMEuropebig(x) { | ||
- | x.style.height=" | + | x.style.height="19%"; |
- | x.style.width=" | + | x.style.width="19%"; |
} | } | ||
function iGEMEuropenormal(x) { | function iGEMEuropenormal(x) { | ||
- | x.style.height=" | + | x.style.height="17%"; |
- | x.style.width=" | + | x.style.width="17%"; |
} | } | ||
function Collabbig(x) { | function Collabbig(x) { | ||
Line 178: | Line 177: | ||
document.getElementById('iGEMcommwrap').style.display = "none"; | document.getElementById('iGEMcommwrap').style.display = "none"; | ||
} | } | ||
- | |||
$(document).ready(function(){ | $(document).ready(function(){ | ||
$("#DCMationheading").mouseleave(function(){ | $("#DCMationheading").mouseleave(function(){ | ||
Line 268: | Line 266: | ||
$("#iGEMcommpopup").animate({width:'0%', left:'25%', marginTop:'19%'}, "fast"); | $("#iGEMcommpopup").animate({width:'0%', left:'25%', marginTop:'19%'}, "fast"); | ||
}); | }); | ||
- | |||
$("#next1").click(function(){ | $("#next1").click(function(){ | ||
$("#menu1").css({display:'none'}); | $("#menu1").css({display:'none'}); | ||
$("#menu2").css({display:'inline'}); | $("#menu2").css({display:'inline'}); | ||
}); | }); | ||
- | + | $("#next2").click(function(){ | |
+ | $("#menu2").css({display:'none'}); | ||
+ | $("#menu3").css({display:'inline'}); | ||
+ | }); | ||
+ | $("#back1").click(function(){ | ||
+ | $("#menu2").css({display:'none'}); | ||
+ | $("#menu1").css({display:'inline'}); | ||
+ | }); | ||
+ | $("#back2").click(function(){ | ||
+ | $("#menu3").css({display:'none'}); | ||
+ | $("#menu2").css({display:'inline'}); | ||
+ | }); | ||
}); | }); | ||
- | |||
function hideabstract(x) { | function hideabstract(x) { | ||
document.getElementById('abstract2').style.display = "none"; | document.getElementById('abstract2').style.display = "none"; | ||
Line 303: | Line 310: | ||
document.getElementById('DCMationwrap').style.display = "none"; | document.getElementById('DCMationwrap').style.display = "none"; | ||
} | } | ||
- | |||
</script> | </script> | ||
</head> | </head> | ||
</html> | </html> |
Latest revision as of 08:34, 12 October 2014