Difference between revisions of "Team:Cambridge-JIC/Templates/Menu"
Line 34: | Line 34: | ||
$(window).on("resize", function () { | $(window).on("resize", function () { | ||
− | if($( | + | if($(window).width() >=768 ) { |
$("#hovertext").html("Tap on a face"); | $("#hovertext").html("Tap on a face"); | ||
$(".navsub").each(function() { | $(".navsub").each(function() { | ||
Line 119: | Line 119: | ||
// highlight curr page | // highlight curr page | ||
− | if( | + | if($(window).width() >= 768) { |
$("a").each(function(){ | $("a").each(function(){ | ||
hr=$(this).attr("href"); | hr=$(this).attr("href"); |
Revision as of 00:57, 4 August 2015