Difference between revisions of "Template:CSU CHINA"

Line 79: Line 79:
 
  $(document).ready(function()
 
  $(document).ready(function()
 
{
 
{
 +
                $("#HQ_page").attr('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");
 +
});
 +
 +
 +
 +
 +
 +
 +
 +
 +
 
   let navibar = $('ul.navigation-bar');
 
   let navibar = $('ul.navigation-bar');
  

Revision as of 23:11, 17 October 2018