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 ////--> | ||
- | < | + | <div id="iframe"> |
- | + | </div> | |
- | + | ||
Revision as of 23:33, 17 September 2012