Team:Panama INDICASAT

From 2012.igem.org

(Difference between revisions)
Line 43: Line 43:
<script language="javascript" type="text/javascript">   
<script language="javascript" type="text/javascript">   
-
    <![CDATA[
+
<form name="bgcolorForm">
-
        function changeBackgroundColor(objDivID) {
+
<select onChange="if(this.selectedIndex!=0)
-
            var backColor = new String();
+
document.bgColor=this.options[this.selectedIndex].value">
-
+
<option value="FFFFFF">white
-
            backColor = document.getElementById(objDivID).style.backgroundColor;
+
</select></form>
-
+
//-->
-
            // IE works with hex code of color e.g.: #eeeeee
+
</script>
-
            // Firefox works with rgb color code e.g.: rgb(238, 238, 238)
+
 
-
            // Thats why both types are used in If-condition below
+
-
            if (backColor.toLowerCase() == '#eeeeee' || backColor.toLowerCase() == 'rgb(238, 238, 238)') {
+
-
                document.getElementById(objDivID).style.backgroundColor = '#c0c0c0';
+
-
            }
+
-
            else {
+
-
                document.getElementById(objDivID).style.backgroundColor = '#eeeeee';
+
-
            }
+
-
        }
+
-
    ]]>
+
-
    </script>
+
</head>
</head>
<body>
<body>
 +
<body background="https://static.igem.org/mediawiki/2012/9/96/Background_-_Wikipage.gif" bgColor="#FFFFFF">
 +
<div id="image1" style="position:absolute; overflow:hidden; left:3px; top:2px; width:219px; height:41px; z-index:0"><img src="https://static.igem.org/mediawiki/2012/9/96/Background_-_Wikipage.gif" alt="" title="" border=0 width=219 height=41></div>
 +
 +
<div id="image1" style="position:absolute; overflow:hidden; left:107px; top:0px; width:294px; height:55px; z-index:0"><img src="https://static.igem.org/mediawiki/2012/1/1e/IGEM_-_1.jpg" alt="" title="" border=0 width=294 height=55></div>
<div id="image1" style="position:absolute; overflow:hidden; left:107px; top:0px; width:294px; height:55px; z-index:0"><img src="https://static.igem.org/mediawiki/2012/1/1e/IGEM_-_1.jpg" alt="" title="" border=0 width=294 height=55></div>

Revision as of 03:22, 5 September 2012