Team:IIT Madras/testpage

From 2011.igem.org

(Difference between revisions)
Line 7: Line 7:
jQuery( document ).ready( function( $ ) {  
jQuery( document ).ready( function( $ ) {  
-
$("#block1_launch").toggle(function(){
+
$("#block1_launch").hover(function(){
$("#block1").fadeIn();
$("#block1").fadeIn();
},
},
Line 14: Line 14:
});
});
-
$("#block2_launch").toggle(function(){
+
$("#block2_launch").hover(function(){
$("#block2").fadeIn();
$("#block2").fadeIn();
},
},
Line 21: Line 21:
});
});
-
$("#block3_launch").toggle(function(){
+
$("#block3_launch").hover(function(){
$("#block3").fadeIn();
$("#block3").fadeIn();
},
},
Line 28: Line 28:
});
});
-
$("#block4_launch").toggle(function(){
+
$("#block4_launch").hover(function(){
$("#block4").fadeIn();
$("#block4").fadeIn();
},
},
Line 35: Line 35:
});
});
-
$("#block5_launch").toggle(function(){
+
$("#block5_launch").hover(function(){
$("#block5").fadeIn();
$("#block5").fadeIn();
},
},
Line 95: Line 95:
<div id="main_container" align="center" style="position:relative; top:35px;">
<div id="main_container" align="center" style="position:relative; top:35px;">
<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_launch" style="width:32px; height:35px; display:block; position:absolute; left:406px; top:54px; z-index:100; background:white;"></div>
+
<div id="block1_launch" style="width:32px; height:35px; display:block; position:absolute; left:406px; top:54px; z-index:100;"></div>
<div id="block2_launch" style="width:120px; height:65px; display:block; position:absolute; left:483px; top:22px; z-index:100"></div>
<div id="block2_launch" style="width:120px; height:65px; display:block; position:absolute; left:483px; top:22px; z-index:100"></div>
<div id="block3_launch" style="width:23px; height:48px; display:block; position:absolute; left:596px; top:122px; z-index:100"></div>
<div id="block3_launch" style="width:23px; height:48px; display:block; position:absolute; left:596px; top:122px; z-index:100"></div>

Revision as of 15:16, 10 September 2011

bar