Difference between revisions of "Team:Cambridge-JIC/Templates/Menu"
Line 32: | Line 32: | ||
$(window).on("resize", function () { | $(window).on("resize", function () { | ||
if($(".navbar-toggle").is(":visible")) { | if($(".navbar-toggle").is(":visible")) { | ||
+ | $("#hovertext").html("Tap"); | ||
$(".navsub").each(function() { | $(".navsub").each(function() { | ||
$(this).removeClass("navsub"); | $(this).removeClass("navsub"); | ||
Line 65: | Line 66: | ||
}); | }); | ||
} else { | } else { | ||
+ | $("#hovertext").html("Hover over"); | ||
$(".navsub_m").each(function(){ | $(".navsub_m").each(function(){ | ||
$(this).removeClass("navsub_m"); | $(this).removeClass("navsub_m"); |
Revision as of 15:37, 28 July 2015