Difference between revisions of "Team:IIT Delhi/team"
Line 29: | Line 29: | ||
} | } | ||
− | . | + | .icons{ |
− | + | ||
border:solid 2px green; | border:solid 2px green; | ||
position:absolute; | position:absolute; | ||
Line 81: | Line 80: | ||
<nav> | <nav> | ||
<div class="iconsDiv" style="margin-left:22%;"> | <div class="iconsDiv" style="margin-left:22%;"> | ||
− | + | <img class="icons" id="icon1" src="https://static.igem.org/mediawiki/2015/1/12/IITDproject_icon.png"> | |
<ul style="color:white;display:none;position:absolute;margin-left:5%;margin-top:5%;z-index:2;"> | <ul style="color:white;display:none;position:absolute;margin-left:5%;margin-top:5%;z-index:2;"> | ||
Line 126: | Line 125: | ||
$(this).css("background-color","black"); | $(this).css("background-color","black"); | ||
$(this).css("z-index","3"); | $(this).css("z-index","3"); | ||
− | $(".iconsDiv").addClass("iconActive"); | + | $(".iconsDiv .icons").addClass("iconActive"); |
$(".iconsDiv ul").css("display","block"); | $(".iconsDiv ul").css("display","block"); | ||
}, | }, | ||
Line 132: | Line 131: | ||
$(this).css("background-color","transparent"); | $(this).css("background-color","transparent"); | ||
$(this).css("z-index","0"); | $(this).css("z-index","0"); | ||
− | $(".iconsDiv").removeClass("iconActive"); | + | $(".iconsDiv .icons").removeClass("iconActive"); |
$(".iconsDiv ul").css("display","none"); | $(".iconsDiv ul").css("display","none"); | ||
} | } |
Revision as of 20:08, 11 September 2015