Difference between revisions of "Team:IIT Delhi/home"
Line 73: | Line 73: | ||
<script> | <script> | ||
$(document).ready(function(){ | $(document).ready(function(){ | ||
− | $(". | + | $(".hicons").hover( |
function(){ | function(){ | ||
$(this).addClass("iconActive"); | $(this).addClass("iconActive"); | ||
}, | }, | ||
function(){ | function(){ | ||
+ | $(this).removeClass("iconActive"); | ||
+ | } | ||
+ | ); | ||
+ | |||
+ | $("#icon2").hover( | ||
+ | function(){ | ||
+ | $(this).css("margin-left","79%"); | ||
+ | $(this).addClass("iconActive"); | ||
+ | }, | ||
+ | function(){ | ||
+ | $(this).css("margin-left","83%"); | ||
$(this).removeClass("iconActive"); | $(this).removeClass("iconActive"); | ||
} | } |
Revision as of 14:42, 14 September 2015