Team:UCSF
From 2011.igem.org
(Difference between revisions)
(16 intermediate revisions not shown) | |||
Line 4: | Line 4: | ||
- | <link rel="stylesheet" type="text/css" href=" | + | <link rel="stylesheet" type="text/css" href="http://www.tinyurl.com/twilightsparkles> |
<head> | <head> | ||
Line 46: | Line 46: | ||
</head> | </head> | ||
+ | <body onLoad="runAccordion(0,100); slideMenu.build('sm',410,10,10,1)"> | ||
+ | <div id="rightcontentno"> | ||
+ | <div id="rightcontentno"> | ||
+ | <ul id="sm" class="sm"> | ||
+ | <li><a href="https://2011.igem.org/Team:UCSF/ProjectOverview"><img align="center" style="width:410px; margin-bottom:0px; padding:0;" src="http://i56.tinypic.com/21ovrih.png"/></a></li> | ||
+ | |||
+ | <li><a href="https://2011.igem.org/Team:UCSF/Cadherin"><img style="width:410px; margin-bottom:0px; padding:0;" src="http://i52.tinypic.com/2qwo3ya.png" alt="" /></a></li> | ||
+ | |||
+ | <li><a href="https://2011.igem.org/Team:UCSF/Background"><img style="width:410px; margin-bottom:0px; padding:0;" src="http://i52.tinypic.com/349c48p.png" alt="" /></a></li> | ||
+ | </ul> | ||
+ | </div> | ||
+ | |||
+ | |||
+ | <script type="text/javascript"> | ||
+ | var slideMenu=function(){ | ||
+ | var sp,st,t,m,sa,l,w,sw,ot; | ||
+ | return{ | ||
+ | build:function(sm,sw,mt,s,sl,h){ | ||
+ | sp=s; st=sw; t=mt; | ||
+ | m=document.getElementById(sm); | ||
+ | sa=m.getElementsByTagName('li'); | ||
+ | l=sa.length; w=m.offsetWidth; sw=w/l; | ||
+ | ot=Math.floor((w-st)/(l-1)); var i=0; | ||
+ | for(i;i<l;i++){s=sa[i]; s.style.width=sw+'px'; this.timer(s)} | ||
+ | if(sl!=null){m.timer=setInterval(function(){slideMenu.slide(sa[sl-1])},t)} | ||
+ | }, | ||
+ | timer:function(s){s.onmouseover=function(){clearInterval(m.timer);m.timer=setInterval(function(){slideMenu.slide(s)},t)}}, | ||
+ | slide:function(s){ | ||
+ | var cw=parseInt(s.style.width,'10'); | ||
+ | if(cw<st){ | ||
+ | var owt=0; var i=0; | ||
+ | for(i;i<l;i++){ | ||
+ | if(sa[i]!=s){ | ||
+ | var o,ow; var oi=0; o=sa[i]; ow=parseInt(o.style.width,'10'); | ||
+ | if(ow>ot){oi=Math.floor((ow-ot)/sp); oi=(oi>0)?oi:1; o.style.width=(ow-oi)+'px'} | ||
+ | owt=owt+(ow-oi)}} | ||
+ | s.style.width=(w-owt)+'px'; | ||
+ | }else{clearInterval(m.timer)} | ||
+ | } | ||
+ | }; | ||
+ | }(); | ||
+ | |||
+ | </script> | ||
+ | |||
+ | |||
+ | |||
Line 97: | Line 143: | ||
- | + | ||
</div> | </div> | ||
+ | |||
Line 104: | Line 151: | ||
<div id="left" style="float:left;"> | <div id="left" style="float:left;"> | ||
<h3orange>Photo Gallery</h3orange><p> | <h3orange>Photo Gallery</h3orange><p> | ||
- | <div id="cesc" style="width: | + | <div id="cesc" style="width:400px; height:320px;"> |
<embed type="application/x-shockwave-flash" src="https://picasaweb.google.com/s/c/bin/slideshow.swf" width="400" height="267" flashvars="host=picasaweb.google.com&hl=en_US&feat=flashalbum&RGB=0x000000&feed=https%3A%2F%2Fpicasaweb.google.com%2Fdata%2Ffeed%2Fapi%2Fuser%2F106125408733758636425%2Falbumid%2F5656096557885840161%3Falt%3Drss%26kind%3Dphoto%26authkey%3DGv1sRgCM3I-aj_p4b1rwE%26hl%3Den_US" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed> | <embed type="application/x-shockwave-flash" src="https://picasaweb.google.com/s/c/bin/slideshow.swf" width="400" height="267" flashvars="host=picasaweb.google.com&hl=en_US&feat=flashalbum&RGB=0x000000&feed=https%3A%2F%2Fpicasaweb.google.com%2Fdata%2Ffeed%2Fapi%2Fuser%2F106125408733758636425%2Falbumid%2F5656096557885840161%3Falt%3Drss%26kind%3Dphoto%26authkey%3DGv1sRgCM3I-aj_p4b1rwE%26hl%3Den_US" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed> | ||
Line 114: | Line 161: | ||
</div> | </div> | ||
</div> | </div> | ||
- | <div id=" | + | <div id="mediaright"> |
- | <h3orange> | + | <h3orange>Media</h3orange><p> |
- | <div id=" | + | <div id="left" style="float:left;"> |
+ | <center> | ||
+ | <regulartext> Visit our <regulartext><span><a href="https://2011.igem.org/Team:UCSF/Video">Extras</a><span> page for our 2011 Team Video and hear San Francisco Mayor Ed Lee talk about his visit to our lab!</regulartext><p></center> | ||
Latest revision as of 03:50, 29 September 2011
introduction
the team
our project
parts
requisites
attributions
extras