Template:Team:Cambridge/CAM 2012 TEMPLATE HEAD PROJECT

From 2012.igem.org

(Difference between revisions)
 
(57 intermediate revisions not shown)
Line 26: Line 26:
set_bk();
set_bk();
 +
 +
var ImgAry=['https://static.igem.org/mediawiki/2012/9/90/Linearised_logo3.png','https://static.igem.org/mediawiki/2012/5/57/Linearised_logo2_boldHP.png','https://static.igem.org/mediawiki/2012/7/78/Linearised_logo2_boldRS.png', 'https://static.igem.org/mediawiki/2012/b/b6/Linearised_logo2_boldRM.png', 'https://static.igem.org/mediawiki/2012/1/19/Linearised_logo2_boldBL.png', 'https://static.igem.org/mediawiki/2012/4/4c/Linearised_logo2_boldSD.png']
 +
var MapAry=[];
 +
for (var zxc0=0;zxc0<ImgAry.length;zxc0++){
 +
  MapAry[zxc0]=new Image();
 +
  MapAry[zxc0].src=ImgAry[zxc0];
 +
}
 +
 +
function Swap(id,nu){
 +
document.getElementById(id).src=MapAry[nu].src;
 +
}
 +
 +
function ScrollBit(x, y){
 +
    window.scrollTo(0,900);
 +
 +
}
</script>
</script>
Line 54: Line 70:
p:first-child { display: none;}
p:first-child { display: none;}
#cam_top_logos {
#cam_top_logos {
-
  /*background-image: url(https://static.igem.org/mediawiki/2011/c/c9/CAM_Bactiridescence_White_85.png);*/
 
   top: 0;
   top: 0;
   position: absolute;
   position: absolute;
Line 77: Line 92:
<script type="text/javascript">
<script type="text/javascript">
$(document).ready(function() {
$(document).ready(function() {
-
+
 
     var top = $('#cam_top_logos').offset().top - parseFloat($('#cam_top_logos').css('marginTop').replace(/auto/, 0));
     var top = $('#cam_top_logos').offset().top - parseFloat($('#cam_top_logos').css('marginTop').replace(/auto/, 0));
       $(window).scroll(function (event) {
       $(window).scroll(function (event) {
Line 93: Line 108:
   });
   });
-
var ImgAry=['https://static.igem.org/mediawiki/2012/1/1a/Linearised_logo2.png','http://farm4.static.flickr.com/3275/2880482532_a7189a6fee_o.jpg','http://farm4.static.flickr.com/3076/2879649119_08a9a00bf9_o.jpg']
+
       
-
var MapAry=[];
+
-
for (var zxc0=0;zxc0<ImgAry.length;zxc0++){
+
-
  MapAry[zxc0]=new Image();
+
-
  MapAry[zxc0].src=ImgAry[zxc0];
+
-
}
+
-
 
+
-
function Swap(id,nu){
+
-
//document.getElementById(id).src=MapAry[nu].src;
+
-
  var newWindow = window.open(this.getAttribute('http://google.com'), '_blank');
+
-
  newWindow.focus();
+
-
  return false;
+
-
}
+
-
 
+
$('.cam_grid_headover h7').css("display","none");
$('.cam_grid_headover h7').css("display","none");
Line 123: Line 125:
$('#cam_nav_project_headover').fadeIn(200);
$('#cam_nav_project_headover').fadeIn(200);
});
});
 +
 +
if(this.hash.substring(1) == "Luciferase_and_instrumentation" ) {
 +
    ('html,body').animate({ scrollLeft: $('#Luciferase_and_instrumentation').offset().left }, 8000);
 +
    alert("hello");
 +
}
});
});
Line 146: Line 153:
<li><a href ="https://2012.igem.org/Team:Cambridge/Parts" class='cam-external' style="color: #FFFFFF">Parts </a></li>
<li><a href ="https://2012.igem.org/Team:Cambridge/Parts" class='cam-external' style="color: #FFFFFF">Parts </a></li>
<li><a href ="https://2012.igem.org/Team:Cambridge/Project/DesignProcess" class='cam-external' style="color: #FFFFFF">Design Process</a></li>
<li><a href ="https://2012.igem.org/Team:Cambridge/Project/DesignProcess" class='cam-external' style="color: #FFFFFF">Design Process</a></li>
 +
<li><a href ="https://2012.igem.org/Team:Cambridge/Project/Results" class='cam-external' style="color: #FFFFFF">Results</a></li>
 +
</ul>
</ul>
-
<BR>
+
<h7>Previous iGEM teams have charaterised an impressive array of inducible promoters, along with other elements of biosensing circuitry... Read More </h7>
-
 
+
-
<h7> Previous iGEM teams have charaterised an impressive array of inducible promoters, along with other elements of biosensing circuitry... Read More </h7>
+
</div>
</div>
Line 239: Line 246:
             </div>
             </div>
             </a>
             </a>
 +
 +
<a href='http://youtu.be/lO6ajD0KfVI'>
 +
             <div id='cam_nav_youtube' class='cam_nav_grid'>
             <div id='cam_nav_youtube' class='cam_nav_grid'>
             </div>
             </div>
 +
</a>
         </div>
         </div>
</div>
</div>
Line 248: Line 259:
     <div id='camlogoswrapper'>
     <div id='camlogoswrapper'>
     <div id='cam_top_logos' class='cam-topnav'>
     <div id='cam_top_logos' class='cam-topnav'>
-
     <img id='tst' src='https://static.igem.org/mediawiki/2012/1/1a/Linearised_logo2.png' USEMAP="#logomap" width="760" height="220" /></img>
+
     <img id='tst' src='https://static.igem.org/mediawiki/2012/9/90/Linearised_logo3.png' USEMAP="#logomap" width="760" height="160" /></img>
       </div>  
       </div>  
       </div>
       </div>
<MAP NAME="logomap">
<MAP NAME="logomap">
-
<AREA SHAPE="RECT" COORDS="0,0,110,150" HREF="https://2012.igem.org/Team:Cambridge/Outreach/Overview" onmouseover="Swap('tst',1);"  onmouseout="Swap('tst',0);" >
+
<AREA SHAPE="RECT" COORDS="0,0,110,90" HREF="https://2012.igem.org/Team:Cambridge/Outreach/Overview" onmouseover="Swap('tst',1);"  onmouseout="Swap('tst',0);" >
-
<AREA SHAPE="RECT" COORDS="115,0,220,150" HREF="https://2012.igem.org/Team:Cambridge/Project/Biosensors" onmouseover="Swap('tst',2);"  onmouseout="Swap('tst',0);" >
+
<AREA SHAPE="RECT" COORDS="115,0,220,90" HREF="https://2012.igem.org/Team:Cambridge/Project/Biosensors" onmouseover="Swap('tst',2);"  onmouseout="Swap('tst',0);" >
-
<AREA SHAPE="RECT" COORDS="225,0,365,150" HREF="https://2012.igem.org/Team:Cambridge/Project/Standardised_Outputs" onmouseover="Swap('tst',3);"  onmouseout="Swap('tst',0);" >
+
<AREA SHAPE="RECT" COORDS="225,0,365,90" HREF="https://2012.igem.org/Team:Cambridge/Project/Standardised_Outputs" onmouseover="Swap('tst',3);"  onmouseout="Swap('tst',0);" >
-
<AREA SHAPE="RECT" COORDS="370,0,510,150" HREF="https://2012.igem.org/Team:Cambridge/Project/Instrumentation" onmouseover="Swap('tst',4);"  onmouseout="Swap('tst',0);" >
+
<AREA SHAPE="RECT" COORDS="370,0,510,90" HREF="https://2012.igem.org/Team:Cambridge/Project/Instrumentation" onmouseover="Swap('tst',4);"  onmouseout="Swap('tst',0);" >
-
<AREA SHAPE="RECT" COORDS="515,0,760,150" HREF="https://2012.igem.org/Team:Cambridge/Project/Sporulation_and_Germination" onmouseover="Swap('tst',5);"  onmouseout="Swap('tst',0);" >
+
<AREA SHAPE="RECT" COORDS="515,0,760,90" HREF="https://2012.igem.org/Team:Cambridge/Project/Sporulation_and_Germination" onmouseover="Swap('tst',5);"  onmouseout="Swap('tst',0);" >
</MAP>  
</MAP>  
<div id='cam_pagecontent' class='cam-box-content'>
<div id='cam_pagecontent' class='cam-box-content'>
-
<br>
 
-
<br>
 
<br>
<br>
<br>
<br>

Latest revision as of 20:20, 26 September 2012