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