Team:IIT Delhi/Modeling
From 2014.igem.org
(Difference between revisions)
Line 48: | Line 48: | ||
google.maps.event.addDomListener(window, 'load', initialize); | google.maps.event.addDomListener(window, 'load', initialize); | ||
</script> | </script> | ||
+ | <script type="text/javascript"> | ||
+ | |||
+ | (function(){ | ||
+ | var myDiv = document.getElementById("myDiv"); | ||
+ | |||
+ | var show = function(){ | ||
+ | myDiv.style.display = "block"; | ||
+ | setTimeout(hide, 5000); // 5 seconds | ||
+ | } | ||
+ | |||
+ | var hide = function(){ | ||
+ | myDiv.style.display = "none"; | ||
+ | } | ||
+ | |||
+ | show(); | ||
+ | })(); | ||
+ | |||
+ | </script> | ||
+ | |||
Line 73: | Line 92: | ||
- | <div id="myDiv"><img id="myImage" src="https://static.igem.org/mediawiki/2014/e/ee/Namaste.gif"></div> | + | <div id = "myDiv" style="display:none"><img id = "myImage" src = "images/https://static.igem.org/mediawiki/2014/e/ee/Namaste.gif"></div><br> |
- | < | + | |
- | + | ||
- | + | ||
Revision as of 22:08, 12 October 2014