Team:IIT Madras/testpage

From 2011.igem.org

(Difference between revisions)
Line 5: Line 5:
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"/></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"/></script>
<script>
<script>
-
jQuery( document ).ready( function( $ ) {
+
jQuery( document ).ready();
-
 
+
function test(){
-
});
+
alert();
-
jQuery("#vector").click(function($){
+
}
-
$("#block1").fadeIn();
+
-
});
+
</script>
</script>
<style>
<style>
Line 60: Line 58:
<body>
<body>
-
<div id="main_container" align="center" style="position:relative; top:35px;">
+
<div id="main_container" align="center" style="position:relative; top:35px;" onclick="test()">
<img id="vector" src="https://static.igem.org/mediawiki/2011/a/a9/Plasmid.png"  width="250px" height="250px" style="position:relative; top:30px;"/>
<img id="vector" src="https://static.igem.org/mediawiki/2011/a/a9/Plasmid.png"  width="250px" height="250px" style="position:relative; top:30px;"/>
<div id="block1"></div>
<div id="block1"></div>

Revision as of 20:09, 2 September 2011

bar