Team:Caltech

From 2014.igem.org

(Difference between revisions)
 
(19 intermediate revisions not shown)
Line 4: Line 4:
<html>
<html>
<body style="background-color:#F6661F">
<body style="background-color:#F6661F">
-
<script language="JavaScript">
 
-
//Watching Eyes script- By Kurt (kurt.grigg@virgin.net)
+
<div style="position:absolute;color:black" id="test"></div>
-
//Script featured on Dynamic Drive
+
-
//Visit http://www.dynamicdrive.com for this script and more
+
-
pic0=new Image();
+
<body onload="position_at_top();expand()">
-
pic0.src="eye.gif";
+
-
pic1=new Image();
+
-
pic1.src="pupils.gif";
+
-
 
+
-
var n4=(document.layers);
+
-
var n6=(document.getElementById&&!document.all);
+
-
var ie=(document.all);
+
-
var O=(navigator.appName.indexOf("Opera") != -1)?true:false;
+
-
var _d=(n4||ie)?'document.':'document.getElementById("';
+
-
var _a=(n4||n6)?'':'all.';
+
-
var _r=(n6)?'")':'';
+
-
var _s=(n4)?'':'.style';
+
-
if (n4){
+
-
document.write('<layer name="eyeball" top=0 left=0 width="69" height="34"><img src="eye.gif" width="69" height="34"></layer>');
+
-
document.write('<layer name="pupil1" top=0 left=0 width="13" height="13"><img src="pupils.gif" width="13" height="13"></layer>');
+
-
document.write('<layer name="pupil2" top:0 left=0 width="13" height="13"><img src="pupils.gif" width="13" height="13"></layer>');
+
-
}
+
-
else{
+
-
if (ie)
+
-
document.write('<div id="ic" style="position:absolute;top:0;left:0"><div style="position:relative">');
+
-
document.write('<div id="eyeball" style="position:absolute;top:100px;left:100px;width:69px;height:34px"><img src="eye.gif" width="69" height="34"></div>');
+
-
document.write('<div id="pupil1" style="position:absolute;top:0px;left:0px;width:12px;height:13px"><img src="pupils.gif" width="13" height="13"></div>');
+
-
document.write('<div id="pupil2" style="position:absolute;top:0px;left:0px;width:12px;height:13px"><img src="pupils.gif" width="13" height="13"></div>');
+
-
if (ie)
+
-
document.write('</div></div>');
+
-
}
+
-
var ym=0;
+
-
var xm=0;
+
-
if (n4||n6){
+
-
window.captureEvents(Event.MOUSEMOVE);
+
-
function mouseNS(e){
+
-
ym = e.pageY-window.pageYOffset;
+
-
xm = e.pageX;
+
-
}
+
-
if (n4)window.onMouseMove=mouseNS;
+
-
if (n6)document.onmousemove=mouseNS;
+
-
}
+
-
if (ie||O){
+
-
function mouseIEO(){
+
-
ym = (ie)?event.clientY:event.clientY-window.pageYOffset;
+
-
xm = event.clientX;
+
-
}
+
-
document.onmousemove=mouseIEO;
+
-
}
+
-
var etemp=eval(_d+_a+"eyeball"+_r+_s);
+
-
var p1temp=eval(_d+_a+"pupil1"+_r+_s);
+
-
var p2temp=eval(_d+_a+"pupil2"+_r+_s);
+
-
dy=0;
+
-
dx=0;
+
-
fy=0;
+
-
fx=0;
+
-
angle1=0;
+
-
angle2=0;
+
-
d1=0;
+
-
d2=0;
+
-
function makefollow(){
+
-
sy=(!ie)?window.pageYOffset:0;
+
-
wy=(ie)?document.body.clientHeight:window.innerHeight;
+
-
wx=(ie)?document.body.clientWidth:window.innerWidth;
+
-
//Keep eyes on screen. Netscape 6 plays up otherwise!
+
-
var chy=Math.floor(fy-34);
+
-
if (chy <= 0) chy = 0;
+
-
if (chy >= wy-34) chy = wy-34;
+
-
var chx=Math.floor(fx-34);
+
-
if (chx <= 0) chx = 0;
+
-
if (chx >= wx-69) chx = wx-69;
+
-
etemp.top=chy+sy;
+
-
etemp.left=chx;
+
-
//eyeball1 centre.
+
-
c1y=parseInt(etemp.top)+17;
+
-
c1x=parseInt(etemp.left)+17;
+
-
//eyeball2 centre.
+
-
c2y=parseInt(etemp.top)+17;
+
-
c2x=parseInt(etemp.left)+52;
+
-
dy1 = ym+sy - c1y;
+
-
dx1 = xm - c1x;
+
-
d1 = Math.sqrt(dy1*dy1 + dx1*dx1);
+
-
dy2 = ym+sy - c2y;
+
-
dx2 = xm - c2x;
+
-
d2 = Math.sqrt(dy2*dy2 + dx2*dx2);
+
-
ay1 = ym+sy - c1y;
+
-
ax1 = xm - c1x;
+
-
angle1 = Math.atan2(ay1,ax1)*180/Math.PI;
+
-
ay2 = ym+sy - c2y;
+
-
ax2 = xm - c2x;
+
-
angle2 = Math.atan2(ay2,ax2)*180/Math.PI;
+
-
dv=1.7;
+
-
p1temp.top=(d1 < 17)?(c1y-6+d1/dv*Math.sin(angle1*Math.PI/180)):(c1y-6+10*Math.sin(angle1*Math.PI/180));
+
-
p1temp.left=(d1 < 17)?(c1x-6+d1/dv*Math.cos(angle1*Math.PI/180)):(c1x-6+10*Math.cos(angle1*Math.PI/180));
+
-
p2temp.top=(d2 < 17)?(c2y-6+d2/dv*Math.sin(angle2*Math.PI/180)):(c2y-6+10*Math.sin(angle2*Math.PI/180));
+
-
p2temp.left=(d2 < 17)?(c2x-6+d2/dv*Math.cos(angle2*Math.PI/180)):(c2x-6+10*Math.cos(angle2*Math.PI/180));
+
-
}
+
-
function move(){
+
-
if (ie)ic.style.top=document.body.scrollTop;
+
-
dy=fy+=(ym-fy)*0.12-2;
+
-
dx=fx+=(xm-fx)*0.12;
+
-
makefollow();
+
-
setTimeout('move()',10);
+
-
}
+
-
window.onload=move;
+
-
//-->
+
-
</script>
+
<!--main content -->
<!--main content -->
<table width="70%" align="center">
<table width="70%" align="center">
Line 148: Line 43:
<td style="border:1px solid black;" align="center" height ="45px" onMouseOver="this.bgColor='black'; modeling.style.color='white'" onMouseOut="this.bgColor='white'; modeling.style.color='black'" bgColor=white>
<td style="border:1px solid black;" align="center" height ="45px" onMouseOver="this.bgColor='black'; modeling.style.color='white'" onMouseOut="this.bgColor='white'; modeling.style.color='black'" bgColor=white>
-
<a id='modeling' href="https://2014.igem.org/Team:Caltech/Modeling"style="color:#000000"> Modeling</a></td>
+
<a id='modeling' href="https://2014.igem.org/Team:Caltech/TXTL"style="color:#000000"> TXTL Promoter Characterization</a></td>
<td style="border:1px solid black;" align="center" height ="45px" onMouseOver="this.bgColor='black'; notebook.style.color='white'" onMouseOut="this.bgColor='white'; notebook.style.color='black'" bgColor=white>
<td style="border:1px solid black;" align="center" height ="45px" onMouseOver="this.bgColor='black'; notebook.style.color='white'" onMouseOut="this.bgColor='white'; notebook.style.color='black'" bgColor=white>
Line 179: Line 74:
<tr> <td colspan="3"  height="5px"> </td></tr>
<tr> <td colspan="3"  height="5px"> </td></tr>
-
<tr> <td colspan="3"  height="5px"> <center> <img src="https://static.igem.org/mediawiki/2014/d/d4/Teamcaltech.jpg"> </td></tr>
+
<tr>  <td bgColor=#FFFFFF colspan = 3 height = 100px> <font size = +5> <center>Welcome to the Caltech iGEM page! </center> </td> </tr>
-
 
+
<tr> <td bgColor=#000000 colspan = 3> <font color = "white"> <font size = +2> <center> Meet Plasy: Official Caltech iGEM Mascot</center> </font> </td> </tr>
 +
<tr> <td colspan="3"  height="5px"> <center> <img src="https://static.igem.org/mediawiki/2014/4/42/Caltech_Plasy_%282%29.jpg"> </td></tr>
 +
<tr> <td bgColor=#000000 colspan = 3><font color = "white"> <font size = +2> <center> Meet the Caltech iGEM Team</center> </font> </td> </tr>
 +
<tr> <td colspan="3"  height="5px"> <center> <img src="https://static.igem.org/mediawiki/2014/d/d4/Teamcaltech.jpg"> </td></tr>
 +
<tr> <td><center> From left to right: Victoria Hsiao, Anu Thubagere, Bianca Lepe, Andrew Hou, Tina Xu, Anthony Chen, Monique Alkiewicz, Alec Lourenco
 +
<br>
 +
Front: Galen Gao <td></tr>
 +
<tr><td bgColor=#000000 colspan = 3><font color = "white"> <font size = +2> <center> Our Badges</center> </font> </td>
 +
<head>
 +
<tr><td><center>
 +
    <style>
 +
      #virginiabadge{
 +
      background: url("https://static.igem.org/mediawiki/2014/6/6a/Virginia_Badge2.png");
 +
      background-size:250px;
 +
      width: 250px;
 +
      height: 185px;
 +
      background-repeat:no-repeat;
 +
    }
 +
 +
    #virginiabadge:hover{
 +
    background: url("https://static.igem.org/mediawiki/2014/2/2b/File-Virginia-Images-Badge1.png");
 +
    background-repeat:no-repeat;
 +
    width: 250px;
 +
    height: 185px;
 +
    background-size:250px;
 +
    }
 +
    </style>
 +
</head>
 +
 +
<body>
 +
    <div id="virginiabadge">
 +
        <a href=
 +
        "https://2014.igem.org/Team:Virginia/HumanPractices"><img height="180"
 +
        src="https://static.igem.org/mediawiki/2014/b/b0/Virginia_Transparent.png"
 +
        width="250"></a>
 +
    </div>
 +
</tr></td>
 +
</br>
</br>
</br>

Latest revision as of 02:26, 30 September 2014




Home Team Official Team Profile Project Parts TXTL Promoter Characterization Notebook Safety Attributions
Welcome to the Caltech iGEM page!
Meet Plasy: Official Caltech iGEM Mascot
Meet the Caltech iGEM Team
From left to right: Victoria Hsiao, Anu Thubagere, Bianca Lepe, Andrew Hou, Tina Xu, Anthony Chen, Monique Alkiewicz, Alec Lourenco
Front: Galen Gao
Our Badges