Difference between revisions of "Team:Cambridge-JIC/TestHome"
Line 65: | Line 65: | ||
if($(this).offset().top < $(window).scrollTop()) { | if($(this).offset().top < $(window).scrollTop()) { | ||
$(".sidebar-item").css("background", "none") | $(".sidebar-item").css("background", "none") | ||
− | + | $($(".sidebar-item").get(i)).css("background", "#555") | |
} | } | ||
i++; | i++; |
Revision as of 02:10, 4 August 2015