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... 阅读全帖 |
|
F****n 发帖数: 3271 | 2 That's because you haven't seen enough websites. AJAX Framework such as ZK
makes things easy and thus create the chance of abuse. For example, infobox
triggered by mouseover is one of the most common abuses. Because every time
it will load something from the server, it can easily become a disaster when
you have many elements on your webpages with this mouseover capability. |
|
w******t 发帖数: 16937 | 3 分特,想看专业的?
看这个。声明:因为网络安全原因,我删去了一些必须删去的内容。
http://schema.org/WebPage">Google
|
|