Difference between revisions of "Team:IIT Delhi/team"
Line 77: | Line 77: | ||
<img id="IITDigem_logo" src="https://static.igem.org/mediawiki/2015/f/ff/IITDigem_logo.png"> | <img id="IITDigem_logo" src="https://static.igem.org/mediawiki/2015/f/ff/IITDigem_logo.png"> | ||
<nav> | <nav> | ||
− | <div class=" | + | <div class="iconsDiv"> |
− | <img id="icon1" style="margin-left:22%;" src="https://static.igem.org/mediawiki/2015/1/12/IITDproject_icon.png"> | + | <img class="icons" id="icon1" style="margin-left:22%;" src="https://static.igem.org/mediawiki/2015/1/12/IITDproject_icon.png"> |
− | <ul> | + | <ul style="display:none;"> |
<li>Menu1</li> | <li>Menu1</li> | ||
<li>Menu1</li> | <li>Menu1</li> | ||
Line 119: | Line 119: | ||
<script> | <script> | ||
$(document).ready(function(){ | $(document).ready(function(){ | ||
− | $(". | + | $(".iconsDiv").hover( |
function(){ | function(){ | ||
− | $( | + | $(".iconsDiv .icons").addClass("iconActive"); |
+ | $(".iconsDiv ul").css("display","block"); | ||
}, | }, | ||
function(){ | function(){ | ||
− | $( | + | $(".iconsDiv .icons").removeClass("iconActive"); |
} | } | ||
); | ); |
Revision as of 19:44, 11 September 2015