Difference between revisions of "Template:Main2019"

Line 1,133: Line 1,133:
 
}
 
}
 
 
//if image_slider exists, activate the automatic rotation slider and functionality
+
 
if ($("#image_carrousel").length){
+
image_slider_rotation();
+
}
+
  
 
$( "#load_menu_here" ).load( "https://2019.igem.org/HQ:Menu #load_menu_content" , function() {
 
$( "#load_menu_here" ).load( "https://2019.igem.org/HQ:Menu #load_menu_content" , function() {
Line 1,143: Line 1,140:
 
});
 
});
  
 +
 +
//if image_slider exists, activate the automatic rotation slider and functionality
 +
if ($("#image_carrousel").length){
 +
image_slider_rotation();
 +
}
  
 
$(".collapsible_accordion_access").click(function(){
 
$(".collapsible_accordion_access").click(function(){
Line 1,149: Line 1,151:
 
});
 
});
  
+
 
 +
 
 +
if($(".igem_mobile_menu_bar").is(":visible")){
 +
var container = $(".igem_menu");
 +
if (!container.is(e.target) && container.has(e.target).length === 0) {
 +
        container.hide();
 +
}
 +
}
 
});
 
});
 
 

Revision as of 21:49, 31 January 2019

Loading...