h********o 发帖数: 2316 | 1 还用jquery写了个点menu的东西
$(document).ready(function() {
fancyMenu();
});
function fancyMenu()
{
jQuery("ul.subnav").parent().append(""); //Only shows drop down
trigger when js is enabled - Adds empty span tag after ul.subnav
jQuery("ul.topnav li span").mouseover(function() { //When trigger is clicked
...
//Following events are applied to the subnav itself (moving subnav up and
down)
jQuery(this).parent().find("ul.subnav").slideDown('fast').show(); //Drop
down the subnav on click
jQuery(t... 阅读全帖 |
|