Difference between revisions of "Team:IIT Delhi/home"
Line 82: | Line 82: | ||
); | ); | ||
− | $("#icon2").hover( | + | $("#icon2,").hover( |
+ | function(){ | ||
+ | $(this).css("margin-left","80%"); | ||
+ | $(this).addClass("iconActive"); | ||
+ | }, | ||
+ | function(){ | ||
+ | $(this).css("margin-left","83%"); | ||
+ | $(this).removeClass("iconActive"); | ||
+ | } | ||
+ | ); | ||
+ | $("#icon4,").hover( | ||
+ | function(){ | ||
+ | $(this).css("margin-left","84%"); | ||
+ | $(this).addClass("iconActive"); | ||
+ | }, | ||
+ | function(){ | ||
+ | $(this).css("margin-left","83.5%"); | ||
+ | $(this).removeClass("iconActive"); | ||
+ | } | ||
+ | ); | ||
+ | $("#icon6,").hover( | ||
function(){ | function(){ | ||
$(this).css("margin-left","79%"); | $(this).css("margin-left","79%"); | ||
+ | $(this).addClass("iconActive"); | ||
+ | }, | ||
+ | function(){ | ||
+ | $(this).css("margin-left","83%"); | ||
+ | $(this).removeClass("iconActive"); | ||
+ | } | ||
+ | ); | ||
+ | $("#icon8,").hover( | ||
+ | function(){ | ||
+ | $(this).css("margin-left","80%"); | ||
$(this).addClass("iconActive"); | $(this).addClass("iconActive"); | ||
}, | }, |
Revision as of 14:45, 14 September 2015