Template:Team:Oxford/scriptmain
From 2014.igem.org
(Difference between revisions)
(2 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 147: | Line 146: | ||
} | } | ||
function Collabbig(x) { | function Collabbig(x) { | ||
- | x.style.height=" | + | x.style.height="48%"; |
- | x.style.width=" | + | x.style.width="48%"; |
} | } | ||
function Collabnormal(x) { | function Collabnormal(x) { | ||
- | x.style.height=" | + | x.style.height="46%"; |
- | x.style.width=" | + | x.style.width="46%"; |
} | } | ||
function DCMation() { | function DCMation() { | ||
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'}); | ||
Line 285: | Line 282: | ||
$("#menu2").css({display:'inline'}); | $("#menu2").css({display:'inline'}); | ||
}); | }); | ||
- | |||
}); | }); | ||
- | |||
function hideabstract(x) { | function hideabstract(x) { | ||
document.getElementById('abstract2').style.display = "none"; | document.getElementById('abstract2').style.display = "none"; | ||
Line 315: | 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