Team:Warsaw/test komorka1

From 2009.igem.org

(Difference between revisions)
m
 
(6 intermediate revisions not shown)
Line 1: Line 1:
-
{{WarHead1}}
+
{{WarHead3}}
Line 14: Line 14:
.blacknwhite { background-repeat:no-repeat; position:absolute; cursor:pointer; visibility:visible;}
.blacknwhite { background-repeat:no-repeat; position:absolute; cursor:pointer; visibility:visible;}
 +
 +
#imgHide {display: none;}
</style>
</style>
Line 23: Line 25:
{
{
   isShowing = true;
   isShowing = true;
-
   document.getElementById("tekscik").style.left = mouseX-300+"px";
+
   document.getElementById("tekscik").style.left = mouseX+10+"px";
-
   document.getElementById("tekscik").style.top = mouseY-170+document.body.scrollTop+"px";
+
   document.getElementById("tekscik").style.top = mouseY+10+document.body.scrollTop+"px";
   document.getElementById("tekscik").innerHTML = thisText;
   document.getElementById("tekscik").innerHTML = thisText;
   document.getElementById("tekscik").style.display = "block";
   document.getElementById("tekscik").style.display = "block";
Line 38: Line 40:
{
{
   if (!callingEvent) callingEvent = window.event;
   if (!callingEvent) callingEvent = window.event;
-
   mouseX = callingEvent.clientX;
+
   mouseX = callingEvent.layerX;
-
   mouseY = callingEvent.clientY-1;
+
   mouseY = callingEvent.layerY-1;
   if (isShowing)
   if (isShowing)
   {
   {
-
document.getElementById("tekscik").style.left = mouseX-300+"px";
+
document.getElementById("tekscik").style.left = mouseX+10+"px";
-
document.getElementById("tekscik").style.top = (!is_safari) ? mouseY-170+document.body.scrollTop+"px" : mouseY-170+"px" ;
+
document.getElementById("tekscik").style.top = (!is_safari) ? mouseY+10+document.body.scrollTop+"px" : mouseY+10+"px" ;
   }
   }
}
}
Line 87: Line 89:
</head>
</head>
<body>
<body>
-
 
+
<div style="margin-left: 100px; text-align: center;">
<div id="kom_main" style="width:450px; height:410px; background: url(https://static.igem.org/mediawiki/2009/5/5f/Kom_colour.png); position: relative; ">
<div id="kom_main" style="width:450px; height:410px; background: url(https://static.igem.org/mediawiki/2009/5/5f/Kom_colour.png); position: relative; ">
<map name="komorka">
<map name="komorka">
-
<area name="kom1" href="https://2009.igem.org/Team:Warsaw/Project/detailed#Invasion_operon" shape="poly" coords="9,162,28,201,50,211,113,136,81,68,70,77,67,93,44,98,8,161" onmouseover="toggleOn('kom1','invasion step')" onmouseout="toggleOff()">
+
<area name="kom1" href="https://2009.igem.org/Team:Warsaw/Project/invasion" shape="poly" coords="9,162,28,201,50,211,113,136,81,68,70,77,67,93,44,98,8,161" onmouseover="toggleOn('kom1','invasion')" onmouseout="toggleOff()">
-
<area name="kom2" href="https://2009.igem.org/Team:Warsaw/Project/detailed#Endosome_detection_operon" shape="poly" coords="27,239,87,170,118,190,130,214,79,286,54,291,31,279,25,256,27,240"  onmouseover="toggleOn('kom2','endosome escape')" onmouseout="toggleOff()">
+
<area name="kom2" href="https://2009.igem.org/Team:Warsaw/Project/endosome" shape="poly" coords="27,239,87,170,118,190,130,214,79,286,54,291,31,279,25,256,27,240"  onmouseover="toggleOn('kom2','endosome escape')" onmouseout="toggleOff()">
-
<area name="kom3a" href="https://2009.igem.org/Team:Warsaw/Project/detailed#Conjugation_with_mitochondria." shape="poly" coords="139,216,104,260,99,322,121,337,223,351,265,322,187,244,143,219,139,217" onmouseover="toggleOn('kom3a','conjugation with mitochondria')" onmouseout="toggleOff()">
+
<area name="kom3a" href="https://2009.igem.org/Team:Warsaw/Project/conjugation" shape="poly" coords="139,216,104,260,99,322,121,337,223,351,265,322,187,244,143,219,139,217" onmouseover="toggleOn('kom3a','conjugation with mitochondria')" onmouseout="toggleOff()">
-
<area name="kom3b" href="https://2009.igem.org/Team:Warsaw/Project/detailed#Secretion_of_p53_into_the_cytoplasm" shape="poly" coords="231,221,278,280,339,275,388,193,186,144,266,148,254,191,235,220" onmouseover="toggleOn('kom3b','secretion of proteins into the cytoplasm')" onmouseout="toggleOff()">
+
<area name="kom3b" href="https://2009.igem.org/Team:Warsaw/Project/cytoplasm" shape="poly" coords="231,221,278,280,339,275,388,193,186,144,266,148,254,191,235,220" onmouseover="toggleOn('kom3b','secretion of proteins<br>to the cytoplasm')" onmouseout="toggleOff()">
-
<area name="kom4b" href="https://2009.igem.org/Team:Warsaw/Project/detailed#Directing_bacterial_proteins_to_mammalian_mitochondria." shape="poly" coords="245,66,262,110,307,132,370,153,394,147,387,102,356,64,304,42,245,67" onmouseover="toggleOn('kom4b','apoptosis')" onmouseout="toggleOff()">
+
<area name="kom4b" href="https://2009.igem.org/Team:Warsaw/Project/apoptosis" shape="poly" coords="245,66,262,110,307,132,370,153,394,147,387,102,356,64,304,42,245,67" onmouseover="toggleOn('kom4b','apoptosis')" onmouseout="toggleOff()">
<area name="alls" shape="poly" coords="5,162,5,230,43,335,132,397,212,405,298,403,432,277,439,45,349,42,197,3,145,15,5,161" onmouseover="clearHighlights()" onmouseout="toggleOff()">
<area name="alls" shape="poly" coords="5,162,5,230,43,335,132,397,212,405,298,403,432,277,439,45,349,42,197,3,145,15,5,161" onmouseover="clearHighlights()" onmouseout="toggleOff()">
Line 120: Line 122:
-
 
+
<img src="https://static.igem.org/mediawiki/2009/0/02/Kom_dark.png" id="imgHide">
<img id="komorka_main" src="https://static.igem.org/mediawiki/2009/c/cd/Pixel.gif" border=0 width="450" height="410" usemap="#komorka" style="position: absolute; top: 0px; left: 0px; width: 450px; height: 410px;"/>
<img id="komorka_main" src="https://static.igem.org/mediawiki/2009/c/cd/Pixel.gif" border=0 width="450" height="410" usemap="#komorka" style="position: absolute; top: 0px; left: 0px; width: 450px; height: 410px;"/>
</div>
</div>
-
 
+
<div style="align: left;">
</body>
</body>
</html>
</html>

Latest revision as of 13:54, 13 October 2009