Team:Virginia/Sandbox pop
From 2009.igem.org
(Difference between revisions)
m |
|||
Line 2: | Line 2: | ||
<head> | <head> | ||
<link rel="stylesheet" href="http://people.virginia.edu/~drt5p/VGEM/2009wiki/c-pop.css" type="text/css" /> | <link rel="stylesheet" href="http://people.virginia.edu/~drt5p/VGEM/2009wiki/c-pop.css" type="text/css" /> | ||
+ | |||
+ | <script type="text/javascript"> | ||
+ | function isIE() { | ||
+ | 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() | ||
+ | { | ||
+ | if(isIE()) { alert("The DOM is ready!"); } | ||
+ | } | ||
+ | |||
+ | </script> | ||
+ | |||
+ | |||
</head> | </head> | ||
<body> | <body> |
Revision as of 02:18, 22 October 2009
edit