开发者

Double click to return to home page

Is there a jquery plugin for double clicking anywhe开发者_高级运维re in a nuetral area to return to the home page? Double click for a home page link?

Many thanks.


You can bind to the double click event. Without seeing markup, not sure how you would make a selector for neutral area.

$("NEUTRAL AREA").bind("dblclick", function(){
    window.location.replace("http://yourdomain.com");
});
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜