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");
});
精彩评论