Difference between revisions of "Team:IIT Delhi/home"
Line 80: | Line 80: | ||
}, | }, | ||
function(){ | function(){ | ||
+ | $(this).removeClass("iconActive"); | ||
+ | } | ||
+ | ); | ||
+ | |||
+ | |||
+ | $("#icon1").hover( | ||
+ | function(){ | ||
+ | $(this).css("margin-top","2.5%"); | ||
+ | $(this).css("margin-left","8.5%"); | ||
+ | $(this).addClass("iconActive"); | ||
+ | }, | ||
+ | function(){ | ||
+ | |||
+ | $(this).css("margin-top","4%"); | ||
+ | $(this).css("margin-left","10%"); | ||
$(this).removeClass("iconActive"); | $(this).removeClass("iconActive"); | ||
} | } | ||
Line 86: | Line 101: | ||
$("#icon2").hover( | $("#icon2").hover( | ||
function(){ | function(){ | ||
+ | $(this).css("margin-top","2.5%"); | ||
$(this).css("margin-left","80%"); | $(this).css("margin-left","80%"); | ||
$(this).addClass("iconActive"); | $(this).addClass("iconActive"); | ||
}, | }, | ||
function(){ | function(){ | ||
+ | $(this).css("margin-top","4%"); | ||
$(this).css("margin-left","83%"); | $(this).css("margin-left","83%"); | ||
$(this).removeClass("iconActive"); | $(this).removeClass("iconActive"); |
Revision as of 18:11, 16 September 2015