Difference between revisions of "Template:2016Demo bottom"

Line 128: Line 128:
  
  
if($('#Demo_mainpage').is(':visible')) {
+
if($('#Demo_mainpage').is(':visible')) {                           // if the main menu is displayed, call the hub menu that is needed
  
 
for ( var i=1; i< hub_list.length; i++ ) {
 
for ( var i=1; i< hub_list.length; i++ ) {
Line 138: Line 138:
 
}
 
}
  
else  {
+
else  { //else display the main menu
  
$(".switch_Menus").html(" ");
+
$(".switch_Menus").html(" &#9654; ");
  
 
$( "#menuDisplay" ).load( "https://2015.igem.org/Menu/DemoSafety #Demo_mainpage", function() {
 
$( "#menuDisplay" ).load( "https://2015.igem.org/Menu/DemoSafety #Demo_mainpage", function() {

Revision as of 21:12, 23 November 2015