function EventHandler(arg1, arg2,...) { var evt = window.event || function(cx) { if(typeof Event!='undefined' && cx){ for(var ii=0; ii<cx.arguments.length; ii++) if(cx.arguments[ii] instanceof Event) return cx.arguments[ii]; return arguments.callee(cx.caller); } return null; }(arguments.callee.caller); evt.preventDefault=evt.preventDefault||function(){evt.returnValue = false;}; evt.stopPropagation=evt.stopPropagation||function(){evt.cancelBubble = false;}; }
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter