Team:Virginia/Sandbox pop

From 2009.igem.org

(Difference between revisions)
Line 4: Line 4:
<script type="text/javascript">
<script type="text/javascript">
-
function isIE() {
+
window.onload(alert("The DOM is ready!"););
-
      return /msie/i.test(navigator.userAgent) && !/opera/i.test(navigator.userAgent);
+
-
}
+
-
//execute as soon as DOM is loaded
+
-
window.onDomReady(onReady);
+
-
//do on ready
 
-
function onReady()
 
-
{
 
-
alert("The DOM is ready!");
 
-
}
 
</script>
</script>

Revision as of 02:19, 22 October 2009

edit

Testing