Difference between revisions of "Template:SJTU-BioX-Shanghai"

Line 10: Line 10:
 
                 $("#HQ_page").attr("id","");
 
                 $("#HQ_page").attr("id","");
 
         // the unwrapping of dropdown menu
 
         // the unwrapping of dropdown menu
$("ul#nav--desktop li.dropdown_main_menu").hover(
+
$("ul#nav--desktop li.dropdown_main_menu").click(
 
function(){$(this).find(".dropdown").stop(!0,!0).delay(200).fadeIn(250)},
 
function(){$(this).find(".dropdown").stop(!0,!0).delay(200).fadeIn(250)},
 
function(){$(this).find(".dropdown").stop(!0,!0).delay(200).fadeOut(250)});
 
function(){$(this).find(".dropdown").stop(!0,!0).delay(200).fadeOut(250)});

Revision as of 15:26, 13 October 2018