Difference between revisions of "Template:XJTU-China"

Line 3: Line 3:
  
 
   $(document).ready(function() {
 
   $(document).ready(function() {
 
+
var HQ=document.getElementById("HQ_page");
    $("#HQ_page").attr('id','');
+
HQ.id="";
   
+
 
+
    //highlight current page on the menu
+
    highlight_current_page_menu();
+
     
+
    //accessing submenus
+
    $(".menu_item").click(function(){
+
      $(".submenu_control_icon", this).toggleClass("open");
+
      $(this).next(".submenu").fadeToggle(400);
+
    });
+
   
+
    //mobile menu access
+
    $(".igem_2018_team_mobile_bar").click(function(){
+
      $(this).next().toggleClass("displaying_menu");
+
    });
+
 
      
 
      
 
   });
 
   });

Revision as of 03:29, 4 October 2018