Line 4: | Line 4: | ||
$("head").append('<meta name="viewport" content="width=device-width, initial-scale=1">'); | $("head").append('<meta name="viewport" content="width=device-width, initial-scale=1">'); | ||
var showMenu = !1, burger = document.getElementById("burger"); | var showMenu = !1, burger = document.getElementById("burger"); | ||
− | function popup(e | + | function popup(e) { |
$("#" + e).css("display", "block"); | $("#" + e).css("display", "block"); | ||
− | |||
− | |||
− | |||
− | |||
location.hash = "#" + e; | location.hash = "#" + e; | ||
$(document).keyup(function(evt) { | $(document).keyup(function(evt) { | ||
Line 31: | Line 27: | ||
return; | return; | ||
} | } | ||
− | popup(hash | + | popup(hash) |
} | } | ||
</script> | </script> | ||
</html> | </html> |
Latest revision as of 20:23, 13 December 2019