Difference between revisions of "Template:Example2"

Line 55: Line 55:
 
// allow button on the black menu bar to show/hide the side menu
 
// allow button on the black menu bar to show/hide the side menu
 
function hide_show_menu() {
 
function hide_show_menu() {
var url = window.location.href ;
+
//var url = ;
if (url.indexOf("submit") >= 0) {
+
if (window.location.href.indexOf("submit") >= 0) {
 
$(".igem_2017_menu_wrapper").hide();
 
$(".igem_2017_menu_wrapper").hide();
 
}
 
}

Revision as of 19:37, 17 March 2017