Team:SDU-Denmark/test

From 2012.igem.org

(Difference between revisions)
Line 176: Line 176:
</script>
</script>
 +
<script>
 +
function loadPage(){
 +
if (window.XMLHttpRequest){
 +
    // code for IE7+, Firefox, Chrome, Opera, Safari
 +
    xmlhttp=new XMLHttpRequest();
 +
}else{
 +
    // code for IE6, IE5
 +
    xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
 +
}
 +
xmlhttp.onreadystatechange=function(){
 +
    if (xmlhttp.readyState==4 && xmlhttp.status==200){
 +
        document.getElementById("iframe").innerHTML=xmlhttp.responseText;
 +
    }
 +
}
 +
 +
xmlhttp.open("POST","https://2012.igem.org/Team:SDU-Denmark/menu",true);
 +
xmlhttp.send();
 +
}
 +
</script>
</head>
</head>
Line 201: Line 220:
<!--\\\\ ACCORDION MENU ////-->
<!--\\\\ ACCORDION MENU ////-->
-
<iframe src="https://2012.igem.org/Team:SDU-Denmark/menu" frameborder="0" height="400" width="200" scrolling="no"  ALLOWTRANSPARENCY="true">
+
<div id="iframe">
-
  <p>Your browser does not support iframes.</p>
+
</div>
-
</iframe>
+
 

Revision as of 23:33, 17 September 2012

iGEM TEAM ::: SDU-DENMARK by courtesy of NIAID