Team:IIT Madras/Team
From 2011.igem.org
(Difference between revisions)
Line 11: | Line 11: | ||
$("#popup_container").click(function(){ | $("#popup_container").click(function(){ | ||
$(this).fadeOut(); | $(this).fadeOut(); | ||
+ | }); | ||
+ | |||
+ | $("#close").click(function(){ | ||
+ | $("#popup_container").fadeOut(); | ||
}); | }); | ||
Line 74: | Line 78: | ||
<div id="popup_container" style="position:fixed; top:5%; width:90%; left:5%; height:90%; background:black; border-radius:20px;-webkit-border-radius:20px; -moz-border-radius:20px; opacity:0.8; z-index:100; display:none;"> | <div id="popup_container" style="position:fixed; top:5%; width:90%; left:5%; height:90%; background:black; border-radius:20px;-webkit-border-radius:20px; -moz-border-radius:20px; opacity:0.8; z-index:100; display:none;"> | ||
- | <p id="close" style="color:white; position:absolute; right: | + | <p id="close" style="color:white; position:absolute; right:15px; top:3px;" ><b>X</b></p> |
</div> | </div> | ||
</body> | </body> | ||
</html> | </html> |
Revision as of 00:14, 29 October 2011