mirror of
https://github.com/kennethreitz-archive/kJS.tmbundle.git
synced 2026-06-21 16:10:58 +00:00
29 lines
45 KiB
JSON
29 lines
45 KiB
JSON
{"tool_tip_prefix":"<style type=\"text\/css\" media=\"screen\">\nbody {\n background: transparent;\n\/* opacity: 0.9;*\/\n}\nhtml,body,table{font-size:10px; font-family: \"Lucida Grande\", \"Trebuchet MS\", Verdana, sans-serif;}\ntable{-webkit-border-radius:1ex;background-color:#fff;border:2px solid #eee;width:auto;}\ntd.declaration{width:15em;}\ntd.comp{-webkit-border-radius:1ex;}\n\n\/*COMPATIBILITY TABLES*\/\ntable.compatibility{line-height:140%;border-spacing:0.5em;position:relative;}\ntable.compatibility caption{border-top:1px dotted #9198C1;padding:10px 0;text-align:left;}\ntable.compatibility caption select{margin-left:5px;margin-right:7px;border:1px dotted #9198C1;}\nwbr:after{content:\"\u000200B\"}\ntr{width:100%;}\ntable.compatibility ul,table.compatibility ol{border:none;margin-bottom:0;}\ntable.compatibility td{vertical-align:top;}\ncol.IE{width:3em;}\ncol.FF{width:4em;}\ncol.Saf{width:4em;}\ncol.Op{width:4em;}\ncol.Rest{width:8em;}\ntr.compheader{background-color:#F2F3EF;}\ntr.compheader th{font-weight:normal;font-size:90%;color:#666666;}\ntr.compheader th:first-child{text-align:right;padding:1em;}\ntr.compheader:last-child th{border:none;}\ntd.header{background-color:#F2F3EF;padding:0.3em;}\ntd.header h3,td.header h4{margin-top:0.5em;text-align:center;}\ntd.declaration{background-color:#F2F3EF;text-align:right;padding-right:10px;color:#666666;}\ntd.declaration a{text-decoration:none;}\ndiv.name{font-weight:bold;margin-bottom:1em;margin-top:1em;}\ntd.comp{font-family:verdana,sans-serif;font-size:95%;text-transform:lowercase;text-align:center;height:3em;vertical-align:middle !important;}\ntable.keepCaps td.comp{text-transform:none;}\ntd.yes{background-color:#00882D;color:#ffffff;text-shadow:0 1px 1px #003211;}\ntd.almost{background-color:#40A662;color:#ffffff;text-shadow:0 1px 1px #297D47;}\ntd.incomplete{color:#00882D;border:1px solid #00882D;}\ntd.alternative{color:#666666;border:1px solid #666666;}\ntd.untestable{color:#006699;}\ntd.minimal{color:#CB000F;}\ntd.incorrect{color:#CB000F;border:1px solid #CB000F;}\ntd.inappropriate{background-color:#EFB2B7;text-shadow:0 1px 1px #fff;}\ntd.toomany{background-color:#CCE7D5;text-shadow:0 1px 1px #fff;}\ntd.buggy{background-color:#DA4C57;color:#ffffff;text-shadow:0 1px 1px #81272C;}\ntd.severebug{background-color:#82000A;color:#ffffff;text-shadow:0 1px 1px #410005;}\ntd.no{background-color:#CB000F;color:#ffffff;text-shadow:0 1px 1px #410301;}\ntd.crash{background-color:#535353;font-weight:bold;text-transform:uppercase;color:#ffffff;text-shadow:0 1px 1px #333;}\nb.warning{display:block;color:#F2F3EF;padding:0.5em;margin-right:-10px;margin-top:0.5em;background-color:#999999;text-shadow:0 1px 1px #666;}\ntd pre{padding:0;}\ntd pre + p{margin-top:2px;}\ntd th,td td{padding:1px !important;vertical-align:top;color:#666666;}\ntd th{text-align:left !important;}\n\ncite {\n -webkit-transition: right 1s ease-out, opacity 1s ease-out;\n position: relative;\n opacity: 0;\n right: 50%;\n \n display: block;\n float: right;\n -webkit-border-radius: 1ex;\n margin: 1ex auto 0;\n text-align: center;\n background: #111;\n color: #eee;\n line-height: 2em;\n padding: 0 1em;\n text-shadow: 0 1px 1px #000;\n border: 1px solid #222;\n}\n<\/style>\n<script>\nwindow.addEventListener('load',function(){\n \n var c = document.getElementsByTagName('cite')[0];\n c.style.right = '0px';\n c.style.opacity = '1';\n \n},false);\n<\/script>\n","suggestions":[
|
|
{"tool_tip":"<table cellspacing=\"7\" class=\"compatibility wide\">\n<tr class=\"compheader\">\n\t<th>Property<\/th>\n\t<th>Events<\/th>\n\t<th>Explorer 5 Win<\/th>\n\t<th>Explorer 6 Win<\/th>\n\t<th>Explorer 5.2 Mac<\/th>\n\t<th>Mozilla 1.75<\/th>\n\t<th>Safari 1.2<\/th>\n\t<th>Opera 8<\/th>\n\t<th>Netscape 4<\/th>\n<\/tr>\n<tr>\n\t<td class=\"declaration\" rowspan=\"2\">\n\t\t<div class=\"name\">currentTarget<\/div>\n\t\tThe <code>currentTarget<\/code> property refers to the HTML element currently handling\n\t\tthe event. This is the element the event handler has been registered on.<\/td>\n\t<td class=\"extracolumn\" rowspan=\"2\">focus, keypress, mouseover, mouseup, resize\n\t\t<br \/><br \/><a href=\"..\/js\/events\/targets.html\">Test page<\/a><\/td>\n\t<td class=\"comp no\">No<\/td>\n\t<td class=\"comp no\">No<\/td>\n\t<td class=\"comp no\">No<\/td>\n\t<td class=\"comp yes\">Yes<\/td>\n\t<td class=\"comp yes\">Yes<\/td>\n\t<td class=\"comp yes\">Yes<\/td>\n\t<td class=\"comp no\">No<\/td>\n<\/tr>\n<tr>\n\t<td colspan=\"8\">\n\t\tThere is no Microsoft equivalent for this property.<br \/>\n\t\tSee the <a href=\"..\/js\/events_order.html\">Event order<\/a> page for more information.\n\t<\/td>\n<\/tr>\n<\/table>\n\n<cite>Excerpt from http:\/\/www.<b>quirksmode.org<\/b>\/dom\/w3c_events.html<\/cite>","insert":"$0","tool_tip_format":"html","display":"EVENTS currentTarget","match":"currentTarget","image":"EVENTS"},
|
|
{"tool_tip":"<table cellspacing=\"7\" class=\"compatibility wide\">\n<tr class=\"compheader\">\n\t<th>Property<\/th>\n\t<th>Events<\/th>\n\t<th>Explorer 5 Win<\/th>\n\t<th>Explorer 6 Win<\/th>\n\t<th>Explorer 5.2 Mac<\/th>\n\t<th>Mozilla 1.75<\/th>\n\t<th>Safari 1.2<\/th>\n\t<th>Opera 8<\/th>\n\t<th>Netscape 4<\/th>\n<\/tr>\n<tr>\n\t<td class=\"declaration\" rowspan=\"2\">\n\t\t<div class=\"name\">fromElement, toElement<\/div>\n\t\t\tThe <code>from\/toElement<\/code> properties exist only for mouseover and mouseout.\n\t\t\tThey refer to the element the mouse comes from (mouseover)\n\t\t\tand the element the mouse goes to (mouseout).\n\t\t<\/td>\n\t<td class=\"extracolumn\" rowspan=\"2\">mouseover\n\t\t<br \/><br \/><a href=\"..\/js\/events\/targets.html\">Test page<\/a><\/td>\n\t\t\t<td class=\"comp yes\">Yes<\/td>\n\t\t\t<td class=\"comp yes\">Yes<\/td>\n\t\t\t<td class=\"comp yes\">Yes<\/td>\n\t\t\t<td class=\"comp no\">No<\/td>\n\t\t\t<td class=\"comp yes\">Yes<\/td>\n\t\t\t<td class=\"comp yes\">Yes<\/td>\n\t\t\t<td class=\"comp no\">No<\/td>\n<\/tr>\n<tr>\n\t<td colspan=\"8\">Equivalent W3C property: relatedTarget.<br \/>\n\tSee the <a href=\"..\/js\/events_mouse.html\">Mouse events<\/a> page for more information.\n\t<\/td>\n<\/tr>\n<\/table>\n\n<cite>Excerpt from http:\/\/www.<b>quirksmode.org<\/b>\/dom\/w3c_events.html<\/cite>","insert":"$0","tool_tip_format":"html","display":"EVENTS fromElement","match":"fromElement","image":"EVENTS"},
|
|
{"tool_tip":"<table cellspacing=\"7\" class=\"compatibility wide\">\n<tr class=\"compheader\">\n\t<th>Property<\/th>\n\t<th>Events<\/th>\n\t<th>Explorer 5 Win<\/th>\n\t<th>Explorer 6 Win<\/th>\n\t<th>Explorer 5.2 Mac<\/th>\n\t<th>Mozilla 1.75<\/th>\n\t<th>Safari 1.2<\/th>\n\t<th>Opera 8<\/th>\n\t<th>Netscape 4<\/th>\n<\/tr>\n<tr>\n\t<td class=\"declaration\" rowspan=\"2\">\n\t\t<div class=\"name\">fromElement, toElement<\/div>\n\t\t\tThe <code>from\/toElement<\/code> properties exist only for mouseover and mouseout.\n\t\t\tThey refer to the element the mouse comes from (mouseover)\n\t\t\tand the element the mouse goes to (mouseout).\n\t\t<\/td>\n\t<td class=\"extracolumn\" rowspan=\"2\">mouseover\n\t\t<br \/><br \/><a href=\"..\/js\/events\/targets.html\">Test page<\/a><\/td>\n\t\t\t<td class=\"comp yes\">Yes<\/td>\n\t\t\t<td class=\"comp yes\">Yes<\/td>\n\t\t\t<td class=\"comp yes\">Yes<\/td>\n\t\t\t<td class=\"comp no\">No<\/td>\n\t\t\t<td class=\"comp yes\">Yes<\/td>\n\t\t\t<td class=\"comp yes\">Yes<\/td>\n\t\t\t<td class=\"comp no\">No<\/td>\n<\/tr>\n<tr>\n\t<td colspan=\"8\">Equivalent W3C property: relatedTarget.<br \/>\n\tSee the <a href=\"..\/js\/events_mouse.html\">Mouse events<\/a> page for more information.\n\t<\/td>\n<\/tr>\n<\/table>\n\n<cite>Excerpt from http:\/\/www.<b>quirksmode.org<\/b>\/dom\/w3c_events.html<\/cite>","insert":"$0","tool_tip_format":"html","display":"EVENTS toElement","match":"toElement","image":"EVENTS"},
|
|
{"tool_tip":"<table cellspacing=\"7\" class=\"compatibility wide\">\n<tr class=\"compheader\">\n\t<th>Property<\/th>\n\t<th>Events<\/th>\n\t<th>Explorer 5 Win<\/th>\n\t<th>Explorer 6 Win<\/th>\n\t<th>Explorer 5.2 Mac<\/th>\n\t<th>Mozilla 1.75<\/th>\n\t<th>Safari 1.2<\/th>\n\t<th>Opera 8<\/th>\n\t<th>Netscape 4<\/th>\n<\/tr>\n<tr>\n\t<td class=\"declaration\" rowspan=\"2\">\n\t\t<div class=\"name\">relatedTarget<\/div>\n\t\tThe <code>relatedTarget<\/code> property\n\t\trefers to the HTML element the event is 'related' to: where the mouse comes from or\n\t\tgoes to.\n\t<\/td>\n\t<td class=\"extracolumn\" rowspan=\"2\">mouseover\n\t<br \/><br \/><a href=\"..\/js\/events\/targets.html\">Test page<\/a>\n\t<\/td>\n\t<td class=\"comp no\">No<\/td>\n\t<td class=\"comp no\">No<\/td>\n\t<td class=\"comp no\">No<\/td>\n\t<td class=\"comp yes\">Yes<\/td>\n\t<td class=\"comp yes\">Yes<\/td>\n\t<td class=\"comp yes\">Yes<\/td>\n\t<td class=\"comp no\">No<\/td>\n<\/tr>\n<tr>\n\t<td colspan=\"8\">Equivalent Microsoft properties: from\/toElement<br \/>\n\tSee the <a href=\"..\/js\/events_mouse.html\">Mouse events<\/a> page for more information.\n\t<\/td>\n<\/tr>\n<\/table>\n\n<cite>Excerpt from http:\/\/www.<b>quirksmode.org<\/b>\/dom\/w3c_events.html<\/cite>","insert":"$0","tool_tip_format":"html","display":"EVENTS relatedTarget","match":"relatedTarget","image":"EVENTS"},
|
|
{"tool_tip":"<table cellspacing=\"7\" class=\"compatibility wide\">\n<tr class=\"compheader\">\n\t<th>Property<\/th>\n\t<th>Events<\/th>\n\t<th>Explorer 5 Win<\/th>\n\t<th>Explorer 6 Win<\/th>\n\t<th>Explorer 5.2 Mac<\/th>\n\t<th>Mozilla 1.75<\/th>\n\t<th>Safari 1.2<\/th>\n\t<th>Opera 8<\/th>\n\t<th>Netscape 4<\/th>\n<\/tr>\n<tr>\n\t<td class=\"declaration\" rowspan=\"8\"><div class=\"name\">srcElement<\/div>\n\tThe <code>srcElement<\/code> is the Microsoft equivalent of <code>target<\/code>. See there\n\tfor more information.\n\t<\/td>\n\t<td class=\"extracolumn\" rowspan=\"2\">focus\n\t<br \/><br \/><a href=\"..\/js\/events\/targets.html\">Test page<\/a>\n\t<\/td>\n\t<td class=\"comp incorrect\">Incor<wbr>rect<\/wbr><\/td>\n\t<td class=\"comp incorrect\">Incor<wbr>rect<\/wbr><\/td>\n\t<td class=\"comp yes\">Yes<\/td>\n\t<td class=\"comp no\">No<\/td>\n\t<td class=\"comp yes\">Yes<\/td>\n\t<td class=\"comp yes\">Yes<\/td>\n\t<td class=\"comp no\">No<\/td>\n<\/tr>\n<tr>\n\t<td colspan=\"8\">See target\n\t<ul>\n\t<li>Explorer Windows doesn't return a srcElement for a focus event on the window.<\/li>\n\t<\/ul>\n\t<\/td>\n<\/tr>\n<tr>\n\t<td class=\"extracolumn\" rowspan=\"2\">keypress\n\t<br \/><br \/><a href=\"..\/js\/events\/targets.html\">Test page<\/a>\n\t<\/td>\n\t<td class=\"comp yes\">Yes<\/td>\n\t<td class=\"comp yes\">Yes<\/td>\n\t<td class=\"comp yes\">Yes<\/td>\n\t<td class=\"comp no\">No<\/td>\n\t<td class=\"comp no\">No<\/td>\n\t<td class=\"comp yes\">Yes<\/td>\n\t<td class=\"comp no\">No<\/td>\n<\/tr>\n<tr>\n\t<td colspan=\"8\">See target<\/td>\n<\/tr>\n<tr>\n\t<td class=\"extracolumn\" rowspan=\"2\">mouseover, mouseup\n\t<br \/><br \/><a href=\"..\/js\/events\/targets.html\">Test page<\/a>\n\t<\/td>\n\t<td class=\"comp almost\">Almost<\/td>\n\t<td class=\"comp almost\">Almost<\/td>\n\t<td class=\"comp almost\">Almost<\/td>\n\t<td class=\"comp no\">No<\/td>\n\t<td class=\"comp incorrect\">Incor<wbr>rect<\/wbr><\/td>\n\t<td class=\"comp yes\">Yes<\/td>\n\t<td class=\"comp no\">No<\/td>\n<\/tr>\n<tr>\n\t<td colspan=\"8\">See target\n\t<ul>\n\t<li>On links, Explorer returns the full href as target\/srcElement instead of an\n\t<code>A<\/code> element. You can access the element, though.<\/li>\n\t<\/ul>\n\t<\/td>\n<\/tr>\n<tr>\n\t<td class=\"extracolumn\" rowspan=\"2\">resize\n\t<br \/><br \/><a href=\"..\/js\/events\/targets.html\">Test page<\/a>\n\t<\/td>\n\t<td class=\"comp incorrect\">Incor<wbr>rect<\/wbr><\/td>\n\t<td class=\"comp incorrect\">Incor<wbr>rect<\/wbr><\/td>\n\t<td class=\"comp yes\">Yes<\/td>\n\t<td class=\"comp no\">No<\/td>\n\t<td class=\"comp incorrect\">Incor<wbr>rect<\/wbr><\/td>\n\t<td class=\"comp yes\">Yes<\/td>\n\t<td class=\"comp no\">No<\/td>\n<\/tr>\n<tr>\n\t<td colspan=\"8\">See target<\/td>\n<\/tr>\n<\/table>\n\n<cite>Excerpt from http:\/\/www.<b>quirksmode.org<\/b>\/dom\/w3c_events.html<\/cite>","insert":"$0","tool_tip_format":"html","display":"EVENTS srcElement","match":"srcElement","image":"EVENTS"},
|
|
{"tool_tip":"<table cellspacing=\"7\" class=\"compatibility wide\">\n<tr class=\"compheader\">\n\t<th>Property<\/th>\n\t<th>Events<\/th>\n\t<th>Explorer 5 Win<\/th>\n\t<th>Explorer 6 Win<\/th>\n\t<th>Explorer 5.2 Mac<\/th>\n\t<th>Mozilla 1.75<\/th>\n\t<th>Safari 1.2<\/th>\n\t<th>Opera 8<\/th>\n\t<th>Netscape 4<\/th>\n<\/tr>\n<tr>\n\t<td class=\"declaration\" rowspan=\"9\"><div class=\"name\">target<\/div>\n\tThe <code>target<\/code> property refers to the HTML element the event actually took place\n\ton, even when the event handler has been registered not on the HTML element but on one of\n\tits ancestors.<br \/><br \/>\n\tMozilla 1.3 and Safari v73 have obligingly mended their earlier target confusion: text\n\tnodes are no longer counted as separate targets.<br \/><br \/>\n\tUnfortunately Safari v85 has reverted to the incorrect behaviour.\n\t<\/td>\n\t<td class=\"extracolumn\" rowspan=\"2\">focus\n\t<br \/><br \/><a href=\"..\/js\/events\/targets.html\">Test page<\/a>\n\t<\/td>\n\t<td class=\"comp no\">No<\/td>\n\t<td class=\"comp no\">No<\/td>\n\t<td class=\"comp yes\">Yes<\/td>\n\t<td class=\"comp yes\">Yes<\/td>\n\t<td class=\"comp yes\">Yes<\/td>\n\t<td class=\"comp yes\">Yes<\/td>\n\t<td class=\"comp incorrect\">Incor<wbr>rect<\/wbr><\/td>\n<\/tr>\n<tr>\n\t<td colspan=\"8\">\n\tSee the\n\t<a href=\"..\/js\/events_properties.html\">Event properties<\/a>\n\tpage for more information on <code>target<\/code>.\n\t<ul>\n\t<li>Netscape 4 returns the window object (window) or the entire outerHTML of the node (textarea).<\/li>\n\t<\/ul>\n\t<\/td>\n<\/tr>\n<tr>\n\t<td class=\"extracolumn\" rowspan=\"2\">keypress\n\t<br \/><br \/><a href=\"..\/js\/events\/targets.html\">Test page<\/a>\n\t<\/td>\n\t<td class=\"comp no\">No<\/td>\n\t<td class=\"comp no\">No<\/td>\n\t<td class=\"comp yes\">Yes<\/td>\n\t<td class=\"comp yes\">Yes<\/td>\n\t<td class=\"comp no\">No<\/td>\n\t<td class=\"comp yes\">Yes<\/td>\n\t<td class=\"comp incorrect\">Incor<wbr>rect<\/wbr><\/td>\n<\/tr>\n<tr>\n\t<td colspan=\"8\">\n\t<ul>\n\t<li>Netscape 4 returns nothing (document) or the entire outerHTML of the node (textarea).<\/li>\n\t<\/ul>\n\t<\/td>\n<\/tr>\n<tr>\n\t<td class=\"extracolumn\" rowspan=\"2\">mouseover, mouseup\n\t<br \/><br \/><a href=\"..\/js\/events\/targets.html\">Test page<\/a>\n\t<\/td>\n\t<td class=\"comp no\">No<\/td>\n\t<td class=\"comp no\">No<\/td>\n\t<td class=\"comp almost\">Almost<\/td>\n\t<td class=\"comp yes\">Yes<\/td>\n\t<td class=\"comp incorrect\">Incor<wbr>rect<\/wbr><\/td>\n\t<td class=\"comp yes\">Yes<\/td>\n\t<td class=\"comp minimal\">Minimal<\/td>\n<\/tr>\n<tr>\n\t<td colspan=\"8\">\n\t<ul>\n\t<li>On links, Explorer returns the full href as target\/srcElement instead of an\n\t<code>A<\/code> element.<\/li>\n\t<li>Netscape 4 does not support target on mousedown, mouseup and click. This is a very\n\tserious bug.<\/li>\n\t<li class=\"smallink\">When mouse events occur on text or inline elements and bubble up to the containing element,\n\tMozilla 1.2 and before and Safari v60 and v80 see the text node as the target of the event. Other browsers\n\treport the inline element (A, B or CODE in the example) and don't react to events on text nodes.<\/li>\n\t<\/ul>\n\t<\/td>\n<\/tr>\n<tr>\n\t<td class=\"extracolumn\" rowspan=\"2\">resize\n\t<br \/><br \/><a href=\"..\/js\/events\/targets.html\">Test page<\/a>\n\t<\/td>\n\t<td class=\"comp no\">No<\/td>\n\t<td class=\"comp no\">No<\/td>\n\t<td class=\"comp yes\">Yes<\/td>\n\t<td class=\"comp yes\">Yes<\/td>\n\t<td class=\"comp incorrect\">Incor<wbr>rect<\/wbr><\/td>\n\t<td class=\"comp yes\">Yes<\/td>\n\t<td class=\"comp yes\">Yes<\/td>\n<\/tr>\n<tr>\n\t<td colspan=\"8\">\n\tI ignore the difference between <code>[object Window]<\/code> and the document node for the\n\tmoment. There are very serious problems in connecting an HTML document to the window, and I'm\n\tgoing to separately research these problems at a later date.\n\t<ul>\n\t<li>Safari returns <code>null<\/code>.<\/li>\n\t<\/ul>\n\t<\/td>\n<\/tr>\n\n<\/table>\n\n<cite>Excerpt from http:\/\/www.<b>quirksmode.org<\/b>\/dom\/w3c_events.html<\/cite>","insert":"$0","tool_tip_format":"html","display":"EVENTS target","match":"target","image":"EVENTS"},
|
|
{"tool_tip":"<table cellspacing=\"7\" class=\"compatibility wide\">\n<tr class=\"compheader\">\n\t<th>Property<\/th>\n\t<th>Events<\/th>\n\t<th>Explorer 5 Win<\/th>\n\t<th>Explorer 6 Win<\/th>\n\t<th>Explorer 5.2 Mac<\/th>\n\t<th>Mozilla 1.75<\/th>\n\t<th>Safari 1.2<\/th>\n\t<th>Opera 8<\/th>\n\t<th>Netscape 4<\/th>\n<\/tr>\n<tr>\n\t<td class=\"declaration\" rowspan=\"2\"><div class=\"name\">altKey<\/div>\n\tIs <code>true<\/code> when the alt key has been pressed, <code>false<\/code>\n\twhen it hasn't.\n\t<\/td>\n\t<td class=\"extracolumn\" rowspan=\"2\">keydown, keyup\n\t<br \/><br \/><a href=\"..\/js\/events\/keys.html\">Test page<\/a>\n\t<\/td>\n\t<td class=\"comp yes\">Yes<\/td>\n\t<td class=\"comp yes\">Yes<\/td>\n\t<td class=\"comp yes\">Yes<\/td>\n\t<td class=\"comp yes\">Yes<\/td>\n\t<td class=\"comp yes\">Yes<\/td>\n\t<td class=\"comp no\">No<\/td>\n\t<td class=\"comp no\">No<\/td>\n<\/tr>\n<tr>\n\t<td colspan=\"8\">\n\t<ul>\n\t<li>Opera doesn't react to the Alt key at all<\/li>\n\t<\/ul>\n\t<\/td>\n<\/tr>\n<\/table>\n\n<cite>Excerpt from http:\/\/www.<b>quirksmode.org<\/b>\/dom\/w3c_events.html<\/cite>","insert":"$0","tool_tip_format":"html","display":"EVENTS altKey","match":"altKey","image":"EVENTS"},
|
|
{"tool_tip":"<table cellspacing=\"7\" class=\"compatibility wide\">\n<tr class=\"compheader\">\n\t<th>Property<\/th>\n\t<th>Events<\/th>\n\t<th>Explorer 5 Win<\/th>\n\t<th>Explorer 6 Win<\/th>\n\t<th>Explorer 5.2 Mac<\/th>\n\t<th>Mozilla 1.75<\/th>\n\t<th>Safari 1.2<\/th>\n\t<th>Opera 8<\/th>\n\t<th>Netscape 4<\/th>\n<\/tr>\n<tr>\n\t<td class=\"declaration\" rowspan=\"2\"><div class=\"name\">altLeft<\/div>\n\tIs <code>true<\/code> when the left alt key has been pressed, <code>false<\/code>\n\twhen it hasn't.\n\t<\/td>\n\t<td class=\"extracolumn\" rowspan=\"2\">keydown, keyup\n\t<br \/><br \/><a href=\"..\/js\/events\/keys.html\">Test page<\/a>\n\t<\/td>\n\t<td class=\"comp no\">No<\/td>\n\t<td class=\"comp yes\">Yes<\/td>\n\t<td class=\"comp no\">No<\/td>\n\t<td class=\"comp no\">No<\/td>\n\t<td class=\"comp no\">No<\/td>\n\t<td class=\"comp no\">No<\/td>\n\t<td class=\"comp no\">No<\/td>\n<\/tr>\n<tr>\n\t<td colspan=\"8\"> <\/td>\n<\/tr>\n<\/table>\n\n<cite>Excerpt from http:\/\/www.<b>quirksmode.org<\/b>\/dom\/w3c_events.html<\/cite>","insert":"$0","tool_tip_format":"html","display":"EVENTS altLeft","match":"altLeft","image":"EVENTS"},
|
|
{"tool_tip":"<table cellspacing=\"7\" class=\"compatibility wide\">\n<tr class=\"compheader\">\n\t<th>Property<\/th>\n\t<th>Events<\/th>\n\t<th>Explorer 5 Win<\/th>\n\t<th>Explorer 6 Win<\/th>\n\t<th>Explorer 5.2 Mac<\/th>\n\t<th>Mozilla 1.75<\/th>\n\t<th>Safari 1.2<\/th>\n\t<th>Opera 8<\/th>\n\t<th>Netscape 4<\/th>\n<\/tr>\n<tr>\n\t<td class=\"declaration\"><div class=\"name\">charCode<\/div> <\/td>\n\t<td colspan=\"8\">\n\tSee the special <a href=\"\/js\/keys.html\">Detecting keystrokes<\/a> page.\n\t<\/td>\n<\/tr>\n<\/table>\n\n<cite>Excerpt from http:\/\/www.<b>quirksmode.org<\/b>\/dom\/w3c_events.html<\/cite>","insert":"$0","tool_tip_format":"html","display":"EVENTS charCode","match":"charCode","image":"EVENTS"},
|
|
{"tool_tip":"<table cellspacing=\"7\" class=\"compatibility wide\">\n<tr class=\"compheader\">\n\t<th>Property<\/th>\n\t<th>Events<\/th>\n\t<th>Explorer 5 Win<\/th>\n\t<th>Explorer 6 Win<\/th>\n\t<th>Explorer 5.2 Mac<\/th>\n\t<th>Mozilla 1.75<\/th>\n\t<th>Safari 1.2<\/th>\n\t<th>Opera 8<\/th>\n\t<th>Netscape 4<\/th>\n<\/tr>\n<tr>\n\t<td class=\"declaration\" rowspan=\"2\"><div class=\"name\">ctrlKey<\/div>\n\tIs <code>true<\/code> when the control key has been pressed, <code>false<\/code>\n\twhen it hasn't.\n\t<\/td>\n\t<td class=\"extracolumn\" rowspan=\"2\">keydown, keyup\n\t<br \/><br \/><a href=\"..\/js\/events\/keys.html\">Test page<\/a>\n\t<\/td>\n\t<td class=\"comp yes\">Yes<\/td>\n\t<td class=\"comp yes\">Yes<\/td>\n\t<td class=\"comp yes\">Yes<\/td>\n\t<td class=\"comp yes\">Yes<\/td>\n\t<td class=\"comp yes\">Yes<\/td>\n\t<td class=\"comp yes\">Yes<\/td>\n\t<td class=\"comp no\">No<\/td>\n<\/tr>\n<tr>\n\t<td colspan=\"8\"> <\/td>\n<\/tr>\n<\/table>\n\n<cite>Excerpt from http:\/\/www.<b>quirksmode.org<\/b>\/dom\/w3c_events.html<\/cite>","insert":"$0","tool_tip_format":"html","display":"EVENTS ctrlKey","match":"ctrlKey","image":"EVENTS"},
|
|
{"tool_tip":"<table cellspacing=\"7\" class=\"compatibility wide\">\n<tr class=\"compheader\">\n\t<th>Property<\/th>\n\t<th>Events<\/th>\n\t<th>Explorer 5 Win<\/th>\n\t<th>Explorer 6 Win<\/th>\n\t<th>Explorer 5.2 Mac<\/th>\n\t<th>Mozilla 1.75<\/th>\n\t<th>Safari 1.2<\/th>\n\t<th>Opera 8<\/th>\n\t<th>Netscape 4<\/th>\n<\/tr>\n<tr>\n\t<td class=\"declaration\" rowspan=\"2\"><div class=\"name\">ctrlLeft<\/div>\n\tIs <code>true<\/code> when the left control key has been pressed, <code>false<\/code>\n\twhen it hasn't.\n\t<\/td>\n\t<td class=\"extracolumn\" rowspan=\"2\">keydown, keyup\n\t<br \/><br \/><a href=\"..\/js\/events\/keys.html\">Test page<\/a>\n\t<\/td>\n\t<td class=\"comp no\">No<\/td>\n\t<td class=\"comp yes\">Yes<\/td>\n\t<td class=\"comp no\">No<\/td>\n\t<td class=\"comp no\">No<\/td>\n\t<td class=\"comp no\">No<\/td>\n\t<td class=\"comp no\">No<\/td>\n\t<td class=\"comp no\">No<\/td>\n<\/tr>\n<tr>\n\t<td colspan=\"8\">\n\t<ul>\n\t<li>Explorer Windows always returns false<\/li>\n\t<\/ul>\n\t<\/td>\n<\/tr>\n<\/table>\n\n<cite>Excerpt from http:\/\/www.<b>quirksmode.org<\/b>\/dom\/w3c_events.html<\/cite>","insert":"$0","tool_tip_format":"html","display":"EVENTS ctrlLeft","match":"ctrlLeft","image":"EVENTS"},
|
|
{"tool_tip":"<table cellspacing=\"7\" class=\"compatibility wide\">\n<tr class=\"compheader\">\n\t<th>Property<\/th>\n\t<th>Events<\/th>\n\t<th>Explorer 5 Win<\/th>\n\t<th>Explorer 6 Win<\/th>\n\t<th>Explorer 5.2 Mac<\/th>\n\t<th>Mozilla 1.75<\/th>\n\t<th>Safari 1.2<\/th>\n\t<th>Opera 8<\/th>\n\t<th>Netscape 4<\/th>\n<\/tr>\n<tr>\n\t<td class=\"declaration\"><div class=\"name\">keyCode<\/div> <\/td>\n\t<td colspan=\"8\">\n\tSee the special <a href=\"\/js\/keys.html\">Detecting keystrokes<\/a> page.\n\t<\/td>\n<\/tr>\n<\/table>\n\n<cite>Excerpt from http:\/\/www.<b>quirksmode.org<\/b>\/dom\/w3c_events.html<\/cite>","insert":"$0","tool_tip_format":"html","display":"EVENTS keyCode","match":"keyCode","image":"EVENTS"},
|
|
{"tool_tip":"<table cellspacing=\"7\" class=\"compatibility wide\">\n<tr class=\"compheader\">\n\t<th>Property<\/th>\n\t<th>Events<\/th>\n\t<th>Explorer 5 Win<\/th>\n\t<th>Explorer 6 Win<\/th>\n\t<th>Explorer 5.2 Mac<\/th>\n\t<th>Mozilla 1.75<\/th>\n\t<th>Safari 1.2<\/th>\n\t<th>Opera 8<\/th>\n\t<th>Netscape 4<\/th>\n<\/tr>\n<tr>\n\t<td class=\"declaration\" rowspan=\"2\"><div class=\"name\">metaKey<\/div>\n\tIs <code>true<\/code> when the meta key has been pressed, <code>false<\/code>\n\twhen it hasn't.\n\t<\/td>\n\t<td class=\"extracolumn\" rowspan=\"2\">keydown, keyup\n\t<br \/><br \/><a href=\"..\/js\/events\/keys.html\">Test page<\/a>\n\t<\/td>\n\t<td class=\"comp no\">No<\/td>\n\t<td class=\"comp no\">No<\/td>\n\t<td class=\"comp no\">No<\/td>\n\t<td class=\"comp incomplete\">Mac<\/td>\n\t<td class=\"comp yes\">Yes<\/td>\n\t<td class=\"comp no\">No<\/td>\n\t<td class=\"comp no\">No<\/td>\n<\/tr>\n<tr>\n\t<td colspan=\"8\">\n\tWhich key is the meta key? On Mac it's Command, on Windows I don't know (and the browsers don't know,\n\teither). Basically this property is only supported by Mozilla on Mac and Safari.\n\t<ul>\n\t<li>Mozilla Windows and Opera always return <code>false<\/code>. The other browsers return <code>undefined<\/code>.<\/li>\n\t<\/ul>\n\t<\/td>\n<\/tr>\n<\/table>\n\n<cite>Excerpt from http:\/\/www.<b>quirksmode.org<\/b>\/dom\/w3c_events.html<\/cite>","insert":"$0","tool_tip_format":"html","display":"EVENTS metaKey","match":"metaKey","image":"EVENTS"},
|
|
{"tool_tip":"<table cellspacing=\"7\" class=\"compatibility wide\">\n<tr class=\"compheader\">\n\t<th>Property<\/th>\n\t<th>Events<\/th>\n\t<th>Explorer 5 Win<\/th>\n\t<th>Explorer 6 Win<\/th>\n\t<th>Explorer 5.2 Mac<\/th>\n\t<th>Mozilla 1.75<\/th>\n\t<th>Safari 1.2<\/th>\n\t<th>Opera 8<\/th>\n\t<th>Netscape 4<\/th>\n<\/tr>\n<tr>\n\t<td class=\"declaration\" rowspan=\"2\"><div class=\"name\">modifiers<\/div>\n\tReturns a bitmask that shows which special keys were pressed.\n\t<\/td>\n\t<td class=\"extracolumn\" rowspan=\"2\">keydown, keyup\n\t<br \/><br \/><a href=\"..\/js\/events\/keys.html\">Test page<\/a>\n\t<\/td>\n\t<td class=\"comp no\">No<\/td>\n\t<td class=\"comp no\">No<\/td>\n\t<td class=\"comp no\">No<\/td>\n\t<td class=\"comp no\">No<\/td>\n\t<td class=\"comp no\">No<\/td>\n\t<td class=\"comp no\">No<\/td>\n\t<td class=\"comp yes\">Yes<\/td>\n<\/tr>\n<tr>\n\t<td colspan=\"8\">\n\tmodifiers is a bitmask:<br \/>\n\t1: Alt<br \/>\n\t2: Ctrl<br \/>\n\t4: Shift<br \/>\n\t8: Command\n\t<br \/>\n\tCan be combined (ie. 6 = Ctrl + Shift).\n<\/td>\n<\/tr>\n<\/table>\n\n<cite>Excerpt from http:\/\/www.<b>quirksmode.org<\/b>\/dom\/w3c_events.html<\/cite>","insert":"$0","tool_tip_format":"html","display":"EVENTS modifiers","match":"modifiers","image":"EVENTS"},
|
|
{"tool_tip":"<table cellspacing=\"7\" class=\"compatibility wide\">\n<tr class=\"compheader\">\n\t<th>Property<\/th>\n\t<th>Events<\/th>\n\t<th>Explorer 5 Win<\/th>\n\t<th>Explorer 6 Win<\/th>\n\t<th>Explorer 5.2 Mac<\/th>\n\t<th>Mozilla 1.75<\/th>\n\t<th>Safari 1.2<\/th>\n\t<th>Opera 8<\/th>\n\t<th>Netscape 4<\/th>\n<\/tr>\n<tr>\n\t<td class=\"declaration\" rowspan=\"2\"><div class=\"name\">repeat<\/div>\n\tIs <code>true<\/code> when the user keeps the key depressed and the system's key repeat\n\tstarts up.\n\t<\/td>\n\t<td class=\"extracolumn\" rowspan=\"2\">keydown, keyup\n\t<br \/><br \/><a href=\"..\/js\/events\/keys.html\">Test page<\/a>\n\t<\/td>\n\t<td class=\"comp yes\">Yes<\/td>\n\t<td class=\"comp yes\">Yes<\/td>\n\t<td class=\"comp no\">No<\/td>\n\t<td class=\"comp no\">No<\/td>\n\t<td class=\"comp no\">No<\/td>\n\t<td class=\"comp no\">No<\/td>\n\t<td class=\"comp no\">No<\/td>\n<\/tr>\n<tr>\n\t<td colspan=\"8\"><\/td>\n<\/tr>\n<\/table>\n\n<cite>Excerpt from http:\/\/www.<b>quirksmode.org<\/b>\/dom\/w3c_events.html<\/cite>","insert":"$0","tool_tip_format":"html","display":"EVENTS repeat","match":"repeat","image":"EVENTS"},
|
|
{"tool_tip":"<table cellspacing=\"7\" class=\"compatibility wide\">\n<tr class=\"compheader\">\n\t<th>Property<\/th>\n\t<th>Events<\/th>\n\t<th>Explorer 5 Win<\/th>\n\t<th>Explorer 6 Win<\/th>\n\t<th>Explorer 5.2 Mac<\/th>\n\t<th>Mozilla 1.75<\/th>\n\t<th>Safari 1.2<\/th>\n\t<th>Opera 8<\/th>\n\t<th>Netscape 4<\/th>\n<\/tr>\n<tr>\n\t<td class=\"declaration\" rowspan=\"2\"><div class=\"name\">shiftKey<\/div>\n\tIs <code>true<\/code> when the shift key has been pressed, <code>false<\/code>\n\twhen it hasn't.\n\t<\/td>\n\t<td class=\"extracolumn\" rowspan=\"2\">keydown, keyup\n\t<br \/><br \/><a href=\"..\/js\/events\/keys.html\">Test page<\/a>\n\t<\/td>\n\t<td class=\"comp yes\">Yes<\/td>\n\t<td class=\"comp yes\">Yes<\/td>\n\t<td class=\"comp yes\">Yes<\/td>\n\t<td class=\"comp yes\">Yes<\/td>\n\t<td class=\"comp yes\">Yes<\/td>\n\t<td class=\"comp yes\">Yes<\/td>\n\t<td class=\"comp no\">No<\/td>\n<\/tr>\n<tr>\n\t<td colspan=\"8\"><\/td>\n<\/tr>\n<\/table>\n\n<cite>Excerpt from http:\/\/www.<b>quirksmode.org<\/b>\/dom\/w3c_events.html<\/cite>","insert":"$0","tool_tip_format":"html","display":"EVENTS shiftKey","match":"shiftKey","image":"EVENTS"},
|
|
{"tool_tip":"<table cellspacing=\"7\" class=\"compatibility wide\">\n<tr class=\"compheader\">\n\t<th>Property<\/th>\n\t<th>Events<\/th>\n\t<th>Explorer 5 Win<\/th>\n\t<th>Explorer 6 Win<\/th>\n\t<th>Explorer 5.2 Mac<\/th>\n\t<th>Mozilla 1.75<\/th>\n\t<th>Safari 1.2<\/th>\n\t<th>Opera 8<\/th>\n\t<th>Netscape 4<\/th>\n<\/tr>\n<tr>\n\t<td class=\"declaration\" rowspan=\"2\"><div class=\"name\">shiftLeft<\/div>\n\tIs <code>true<\/code> when the left shift key has been pressed, <code>false<\/code>\n\twhen it hasn't.\n\t<\/td>\n\t<td class=\"extracolumn\" rowspan=\"2\">keydown, keyup\n\t<br \/><br \/><a href=\"..\/js\/events\/keys.html\">Test page<\/a>\n\t<\/td>\n\t<td class=\"comp no\">No<\/td>\n\t<td class=\"comp yes\">Yes<\/td>\n\t<td class=\"comp no\">No<\/td>\n\t<td class=\"comp no\">No<\/td>\n\t<td class=\"comp no\">No<\/td>\n\t<td class=\"comp no\">No<\/td>\n\t<td class=\"comp no\">No<\/td>\n<\/tr>\n<tr>\n\t<td colspan=\"8\"><\/td>\n<\/tr>\n<\/table>\n\n<cite>Excerpt from http:\/\/www.<b>quirksmode.org<\/b>\/dom\/w3c_events.html<\/cite>","insert":"$0","tool_tip_format":"html","display":"EVENTS shiftLeft","match":"shiftLeft","image":"EVENTS"},
|
|
{"tool_tip":"<table cellspacing=\"7\" class=\"compatibility wide\">\n<tr class=\"compheader\">\n\t<th>Property<\/th>\n\t<th>Events<\/th>\n\t<th>Explorer 5 Win<\/th>\n\t<th>Explorer 6 Win<\/th>\n\t<th>Explorer 5.2 Mac<\/th>\n\t<th>Mozilla 1.75<\/th>\n\t<th>Safari 1.2<\/th>\n\t<th>Opera 8<\/th>\n\t<th>Netscape 4<\/th>\n<\/tr>\n<tr>\n\t<td class=\"declaration\"><div class=\"name\">which<\/div>\n\tEquivalent of <code>keyCode<\/code>\n\t<\/td>\n\t<td class=\"neither\" colspan=\"9\">See next table<\/td>\n<\/tr>\n<\/table>\n\n<cite>Excerpt from http:\/\/www.<b>quirksmode.org<\/b>\/dom\/w3c_events.html<\/cite>","insert":"$0","tool_tip_format":"html","display":"EVENTS which","match":"which","image":"EVENTS"},
|
|
{"tool_tip":"<table cellspacing=\"7\" class=\"compatibility wide\">\n<tr class=\"compheader\">\n\t<th>Property<\/th>\n\t<th>Events<\/th>\n\t<th>Explorer 5 Win<\/th>\n\t<th>Explorer 6 Win<\/th>\n\t<th>Explorer 5.2 Mac<\/th>\n\t<th>Mozilla 1.75<\/th>\n\t<th>Safari 1.2<\/th>\n\t<th>Opera 8<\/th>\n\t<th>Netscape 4<\/th>\n<\/tr>\n<tr>\n\t<td class=\"declaration\" rowspan=\"2\"><div class=\"name\">button<\/div>\n\tBecause <a href=\"http:\/\/www.w3.org\/TR\/2000\/REC-DOM-Level-2-Events-20001113\/events.html#Events-MouseEvent\" class=\"external\">W3C's spec<\/a> is\n\tunworkable, this property has been reduced to <b class=\"warning\">a complete mess<\/b>\n\t<\/td>\n\t<td class=\"extracolumn\" rowspan=\"2\">mousedown\n\t<br \/><br \/><a href=\"..\/js\/events\/button.html\">Test page<\/a>\n\t<\/td>\n\t<td class=\"comp yes\">Yes<\/td>\n\t<td class=\"comp yes\">Yes<\/td>\n\t<td class=\"comp yes\">Yes<\/td>\n\t<td class=\"comp alternative\">W3C<\/td>\n\t<td class=\"comp yes\">Yes<\/td>\n\t<td class=\"comp alternative\">W3C<\/td>\n\t<td class=\"comp no\">No<\/td>\n<\/tr>\n<tr>\n\t<td colspan=\"8\">\n\tThe Microsoft implementation is the only one that makes sense.\n\t<code>button<\/code> is a bitmask:<br \/>\n\t1 - Left button<br \/>\n\t2 - Right button<br \/>\n\t4 - Middle button<br \/>\n\tThey can be combined in Explorer Windows, so clicking on the left and middle button simultaneously\n\tgives a <code>button<\/code> of 5. Only Microsoft's implementation allows these combinations,\n\tthe W3C standard doesn't.\n\t<br \/><br \/>\n\tFortunately all browsers agree that a right click has a <code>button<\/code> value of 2.\n\t<ul>\n\t<li>Mozilla on Mac sees a Shift+Click as a right button click.<\/li>\n\t<li>All other Mac browsers only detect the left button, even if the mouse has more than one button.<\/li>\n\t<li>Opera allows you to <em>disable<\/em> right click detection in the JavaScript preferences.<\/li>\n\t<\/ul>\n\t\t<span class=\"smaller\"><b>W3C<\/b>'s definition is:<br \/>\n\t\t0 - Left button<br \/>\n\t\t1 - Middle button<br \/>\n\t\t2 - Right button<br \/>\n\t\t0 should mean \"no button pressed\", any other meaning is silly. Besides these values\n\t\tcannot be combined into a bitmask: you'll never know whether the left button has been pressed.\n\t\tThis definition is very shoddy work.\n\t\t<br \/><br \/>\n\t\tOld Operas used their own values; but Opera 8b has switched to the W3C values.<br \/>\n\t\t1 - Left button<br \/>\n\t\t2 - Right button<br \/>\n\t\t3 - Middle button<\/span>\n\n\t<\/td>\n<\/tr>\n<\/table>\n\n<cite>Excerpt from http:\/\/www.<b>quirksmode.org<\/b>\/dom\/w3c_events.html<\/cite>","insert":"$0","tool_tip_format":"html","display":"EVENTS button","match":"button","image":"EVENTS"},
|
|
{"tool_tip":"<table cellspacing=\"7\" class=\"compatibility wide\">\n<tr class=\"compheader\">\n\t<th>Property<\/th>\n\t<th>Events<\/th>\n\t<th>Explorer 5 Win<\/th>\n\t<th>Explorer 6 Win<\/th>\n\t<th>Explorer 5.2 Mac<\/th>\n\t<th>Mozilla 1.75<\/th>\n\t<th>Safari 1.2<\/th>\n\t<th>Opera 8<\/th>\n\t<th>Netscape 4<\/th>\n<\/tr>\n<tr>\n\t<td class=\"declaration\" rowspan=\"2\"><div class=\"name\">detail<\/div>\n\tThe <code>detail<\/code> property gives some more details about the event.\n\t<\/td>\n\t<td class=\"extracolumn\" rowspan=\"2\">mousedown\n\t<br \/><br \/><a href=\"..\/js\/events\/detail.html\">Test page<\/a>\n\t<\/td>\n\t<td class=\"comp no\">No<\/td>\n\t<td class=\"comp no\">No<\/td>\n\t<td class=\"comp no\">No<\/td>\n\t<td class=\"comp incorrect\">Incor<wbr>rect on Windows<\/wbr><\/td>\n\t<td class=\"comp yes\">Yes<\/td>\n\t<td class=\"comp incorrect\">Incor<wbr>rect<\/wbr><\/td>\n\t<td class=\"comp no\">No<\/td>\n<\/tr>\n<tr>\n\t<td colspan=\"8\">\n\t'More details' have only been defined for click events and their siblings: here <code>detail<\/code> gives\n\tthe total amount of clicks fired in rapid succession.<br \/>\n\tWorks perfectly only in Mozilla Mac and Safari.\n\t<ul>\n\t<li>Mozilla Windows's implementation is closely linked to the function of\n\trepeated clicks. The first click inserts the caret, the second one selects the word, the\n\tthird one the entire line. The fourth click reverts the selection back to a single word,\n\twhile the fifth click again selects the whole line.<br \/>\n\t<code>detail<\/code>'s values follow this 1-2-3-2-3 sequence exactly and thus show which\n\ttext has been selected by the user.<\/li>\n\t<li>Opera always returns <code>0<\/code><\/li>\n\t<\/ul>\n\t<\/td>\n<\/tr>\n<\/table>\n\n<cite>Excerpt from http:\/\/www.<b>quirksmode.org<\/b>\/dom\/w3c_events.html<\/cite>","insert":"$0","tool_tip_format":"html","display":"EVENTS detail","match":"detail","image":"EVENTS"},
|
|
{"tool_tip":"<table cellspacing=\"7\" class=\"compatibility wide\">\n<tr class=\"compheader\">\n\t<th>Property<\/th>\n\t<th>Events<\/th>\n\t<th>Explorer 5 Win<\/th>\n\t<th>Explorer 6 Win<\/th>\n\t<th>Explorer 5.2 Mac<\/th>\n\t<th>Mozilla 1.75<\/th>\n\t<th>Safari 1.2<\/th>\n\t<th>Opera 8<\/th>\n\t<th>Netscape 4<\/th>\n<\/tr>\n<tr>\n\t<td class=\"declaration\" rowspan=\"2\"><div class=\"name\">timeStamp<\/div>\n\tThe <code>timeStamp<\/code> property returns the\n\t<a href=\"..\/js\/introdate.html#epoch\">Epoch time<\/a> at which the event\n\ttook place (at least, I assume so; values on my Windows and Mac computers differ significantly).\n\t<\/td>\n\t<td class=\"extracolumn\" rowspan=\"2\">mousedown\/ up\/ click, keydown\/ up\/ press\n\t<br \/><br \/><a href=\"..\/js\/events\/timestamp.html\">Test page<\/a>\n\t<\/td>\n\t<td class=\"comp no\">No<\/td>\n\t<td class=\"comp no\">No<\/td>\n\t<td class=\"comp no\">No<\/td>\n\t<td class=\"comp incomplete\">Incom<wbr>plete<\/wbr><\/td>\n\t<td class=\"comp yes\">Yes<\/td>\n\t<td class=\"comp no\">No<\/td>\n\t<td class=\"comp no\">No<\/td>\n<\/tr>\n<tr>\n\t<td colspan=\"8\">As long as you use timeStamp for comparing it to other timeStamps, and not\n\tfor obtaining an absolute time, you shouldn't encounter too many problems.\n\t<ul>\n\t<li>In <em>Mozilla<\/em> it doesn't work for a click event.<\/li>\n\t<\/ul>\n\t<\/td>\n<\/tr>\n<\/table>\n\n<cite>Excerpt from http:\/\/www.<b>quirksmode.org<\/b>\/dom\/w3c_events.html<\/cite>","insert":"$0","tool_tip_format":"html","display":"EVENTS timeStamp","match":"timeStamp","image":"EVENTS"},
|
|
{"tool_tip":"<table cellspacing=\"7\" class=\"compatibility wide\">\n<tr class=\"compheader\">\n\t<th>Property<\/th>\n\t<th>Events<\/th>\n\t<th>Explorer 5 Win<\/th>\n\t<th>Explorer 6 Win<\/th>\n\t<th>Explorer 5.2 Mac<\/th>\n\t<th>Mozilla 1.75<\/th>\n\t<th>Safari 1.2<\/th>\n\t<th>Opera 8<\/th>\n\t<th>Netscape 4<\/th>\n<\/tr>\n<tr>\n\t<td class=\"declaration\" rowspan=\"2\"><div class=\"name\">type<\/div>\n\tThe <code>type<\/code> property returns the type of the event, without the 'on' prefix.\n\t<\/td>\n\t<td class=\"extracolumn\" rowspan=\"2\">Any event\n\t<br \/><br \/><a href=\"..\/js\/events\/targets.html\">Test page<\/a>\n\t<\/td>\n\t<td class=\"comp yes\">Yes<\/td>\n\t<td class=\"comp yes\">Yes<\/td>\n\t<td class=\"comp yes\">Yes<\/td>\n\t<td class=\"comp yes\">Yes<\/td>\n\t<td class=\"comp yes\">Yes<\/td>\n\t<td class=\"comp yes\">Yes<\/td>\n\t<td class=\"comp yes\">Yes<\/td>\n<\/tr>\n<tr>\n\t<td colspan=\"8\"> <\/td>\n<\/tr>\n<\/table>\n\n<cite>Excerpt from http:\/\/www.<b>quirksmode.org<\/b>\/dom\/w3c_events.html<\/cite>","insert":"$0","tool_tip_format":"html","display":"EVENTS type","match":"type","image":"EVENTS"},
|
|
{"tool_tip":"<table cellspacing=\"7\" class=\"compatibility wide\">\n<tr class=\"compheader\">\n\t<th>Property<\/th>\n\t<th>Events<\/th>\n\t<th>Explorer 5 Win<\/th>\n\t<th>Explorer 6 Win<\/th>\n\t<th>Explorer 5.2 Mac<\/th>\n\t<th>Mozilla 1.75<\/th>\n\t<th>Safari 1.2<\/th>\n\t<th>Opera 8<\/th>\n\t<th>Netscape 4<\/th>\n<\/tr>\n<tr>\n\t<td class=\"declaration\" rowspan=\"2\"><div class=\"name\">wheelDelta<\/div>\n\tHow many pixels the mouse wheel scrolls the page.\n\t<\/td>\n\t<td class=\"extracolumn\" rowspan=\"2\">mousewheel (MS proprietary)\n\t<br \/><br \/><a href=\"..\/js\/events\/wheelDelta.html\">Test page<\/a>\n\t<\/td>\n\t<td class=\"comp no\">No<\/td>\n\t<td class=\"comp yes\">Yes<\/td>\n\t<td class=\"comp no\">No<\/td>\n\t<td class=\"comp no\">No<\/td>\n\t<td class=\"comp no\">No<\/td>\n\t<td class=\"comp no\">No<\/td>\n\t<td class=\"comp no\">No<\/td>\n<\/tr>\n<tr>\n\t<td colspan=\"8\"> <\/td>\n<\/tr>\n<\/table>\n\n<cite>Excerpt from http:\/\/www.<b>quirksmode.org<\/b>\/dom\/w3c_events.html<\/cite>","insert":"$0","tool_tip_format":"html","display":"EVENTS wheelDelta","match":"wheelDelta","image":"EVENTS"},
|
|
{"tool_tip":"<table cellspacing=\"7\" class=\"compatibility wide\">\n<tr class=\"compheader\">\n\t<th>Property<\/th>\n\t<th>Events<\/th>\n\t<th>Explorer 5 Win<\/th>\n\t<th>Explorer 6 Win<\/th>\n\t<th>Explorer 5.2 Mac<\/th>\n\t<th>Mozilla 1.75<\/th>\n\t<th>Safari 1.2<\/th>\n\t<th>Opera 8<\/th>\n\t<th>Netscape 4<\/th>\n<\/tr>\n<tr>\n\t<td class=\"declaration\" rowspan=\"4\"><div class=\"name\">which<\/div>\n\t<b>Two meanings<\/b><br \/>\n\n\t1) For the key events<br \/>\n\tReturns the code of the pressed key. a = 65 etc.\n\n\t<br \/><br \/>\n\t2) For the mouse events<br \/>\n\tReturns the mouse button pressed<br \/>\n\t1 - Left button<br \/>\n\t2 - Middle button<br \/>\n\t3 - Right button\n\n\t<\/td>\n\t<td class=\"extracolumn\" rowspan=\"2\">keydown, keyup\n\t<br \/><br \/><a href=\"..\/js\/events\/keys.html\">Test page<\/a>\n\t<\/td>\n\t<td class=\"comp no\">No<\/td>\n\t<td class=\"comp no\">No<\/td>\n\t<td class=\"comp no\">No<\/td>\n\t<td class=\"comp yes\">Yes<\/td>\n\t<td class=\"comp yes\">Yes<\/td>\n\t<td class=\"comp yes\">Yes<\/td>\n\t<td class=\"comp incorrect\">Incor<wbr>rect<\/wbr><\/td>\n<\/tr>\n<tr>\n\t<td colspan=\"8\">\n\tIt is extremely difficult to detect arrow keys, function keys and Insert\/Home\/etc. keys.\n\t<ul>\n\t<li>Netscape 4 gives <code>a<\/code> key code 97. This is the old Netscape 4 system.<\/li>\n\t<\/ul>\n\t<\/td>\n<\/tr>\n<tr>\n\t<td class=\"extracolumn\" rowspan=\"2\">mousedown\n\t<br \/><br \/><a href=\"..\/js\/events\/button.html\">Test page<\/a>\n\t<\/td>\n\t<td class=\"comp no\">No<\/td>\n\t<td class=\"comp no\">No<\/td>\n\t<td class=\"comp no\">No<\/td>\n\t<td class=\"comp yes\">Yes<\/td>\n\t<td class=\"comp incorrect\">(Prop) button<\/td>\n\t<td class=\"comp yes\">Yes<\/td>\n\t<td class=\"comp incomplete\">Incom<wbr>plete<\/wbr><\/td>\n<\/tr>\n<tr>\n\t<td colspan=\"8\">\n\t<ul>\n\t<li>Netscape 4 cannot detect the middle button.<\/li>\n\t<li>Safari gives <code>which<\/code> the same value as\n\t<code>button<\/code>.<\/li>\n\t<\/ul>\n\t<\/td>\n<\/tr>\n<\/table>\n\n<cite>Excerpt from http:\/\/www.<b>quirksmode.org<\/b>\/dom\/w3c_events.html<\/cite>","insert":"$0","tool_tip_format":"html","display":"EVENTS which","match":"which","image":"EVENTS"},
|
|
{"tool_tip":"<table cellspacing=\"7\" class=\"compatibility wide\">\n<tr class=\"compheader\">\n\t<th>Property<\/th>\n\t<th>Events<\/th>\n\t<th>Explorer 5 Win<\/th>\n\t<th>Explorer 6 Win<\/th>\n\t<th>Explorer 5.2 Mac<\/th>\n\t<th>Mozilla 1.75<\/th>\n\t<th>Safari 1.2<\/th>\n\t<th>Opera 8<\/th>\n\t<th>Netscape 4<\/th>\n<\/tr>\n<tr>\n\t<td class=\"declaration\" rowspan=\"2\"><div class=\"name\">addEvent<wbr>Listener()<\/wbr><\/div>\n\tAdd an event handler to an element.\n\t<b class=\"warning\">W3C<\/b>\n\t<\/td>\n\t<td class=\"extracolumn\" rowspan=\"2\">click\n\t<br \/><br \/><a href=\"..\/js\/events\/registration.html\">Test page<\/a>\n\t<\/td>\n\t<td class=\"comp no\">No<\/td>\n\t<td class=\"comp no\">No<\/td>\n\t<td class=\"comp no\">No<\/td>\n\t<td class=\"comp yes\">Yes<\/td>\n\t<td class=\"comp yes\">Yes<\/td>\n\t<td class=\"comp yes\">Yes<\/td>\n\t<td class=\"comp no\">No<\/td>\n<\/tr>\n<tr>\n\t<td colspan=\"8\">x.addEventListener('click',doSomething,false)<br \/>\n\tAdd an onclick event handler that executes function <code>doSomething()<\/code> to element\n\tx.\n\t<br \/><br \/>\n\tThe <code>true\/false<\/code> flag at the end states\n\twhether the event handler should be executed in the capturing or in the bubbling phase.\n\t<\/td>\n<\/tr>\n<\/table>\n\n<cite>Excerpt from http:\/\/www.<b>quirksmode.org<\/b>\/dom\/w3c_events.html<\/cite>","insert":"(${1:})$0","tool_tip_format":"html","display":"EVENTS addEventListener()","match":"addEventListener","image":"EVENTS"},
|
|
{"tool_tip":"<table cellspacing=\"7\" class=\"compatibility wide\">\n<tr class=\"compheader\">\n\t<th>Property<\/th>\n\t<th>Events<\/th>\n\t<th>Explorer 5 Win<\/th>\n\t<th>Explorer 6 Win<\/th>\n\t<th>Explorer 5.2 Mac<\/th>\n\t<th>Mozilla 1.75<\/th>\n\t<th>Safari 1.2<\/th>\n\t<th>Opera 8<\/th>\n\t<th>Netscape 4<\/th>\n<\/tr>\n<tr>\n\t<td class=\"declaration\" rowspan=\"2\"><div class=\"name\">attachEvent()<\/div>\n\tAdd an event handler to an element.\n \t<b class=\"warning\">Microsoft<\/b>\n\t<\/td>\n\t<td class=\"extracolumn\" rowspan=\"2\">click\n\t<br \/><br \/><a href=\"..\/js\/events\/registration.html\">Test page<\/a>\n\t<\/td>\n\t<td class=\"comp yes\">Yes<\/td>\n\t<td class=\"comp yes\">Yes<\/td>\n\t<td class=\"comp no\">No<\/td>\n\t<td class=\"comp no\">No<\/td>\n\t<td class=\"comp no\">No<\/td>\n\t<td class=\"comp yes\">Yes<\/td>\n\t<td class=\"comp no\">No<\/td>\n<\/tr>\n<tr>\n\t<td colspan=\"8\">x.attachEvent('onclick',doSomething);<br \/>\n\tAdd an onclick event handler that executes function <code>doSomething()<\/code> to element\n\tx.\t<\/td>\n<\/tr>\n<\/table>\n\n<cite>Excerpt from http:\/\/www.<b>quirksmode.org<\/b>\/dom\/w3c_events.html<\/cite>","insert":"(${1:})$0","tool_tip_format":"html","display":"EVENTS attachEvent()","match":"attachEvent","image":"EVENTS"},
|
|
{"tool_tip":"<table cellspacing=\"7\" class=\"compatibility wide\">\n<tr class=\"compheader\">\n\t<th>Property<\/th>\n\t<th>Events<\/th>\n\t<th>Explorer 5 Win<\/th>\n\t<th>Explorer 6 Win<\/th>\n\t<th>Explorer 5.2 Mac<\/th>\n\t<th>Mozilla 1.75<\/th>\n\t<th>Safari 1.2<\/th>\n\t<th>Opera 8<\/th>\n\t<th>Netscape 4<\/th>\n<\/tr>\n<tr>\n\t<td class=\"declaration\" rowspan=\"2\"><div class=\"name\">detachEvent()<\/div>\n\tRemove an event handler from an element.\n\t<b class=\"warning\">Microsoft<\/b>\n\t<\/td>\n\t<td class=\"extracolumn\" rowspan=\"2\">click\n\t<br \/><br \/><a href=\"..\/js\/events\/registration.html\">Test page<\/a>\n\t<\/td>\n\t<td class=\"comp yes\">Yes<\/td>\n\t<td class=\"comp yes\">Yes<\/td>\n\t<td class=\"comp no\">No<\/td>\n\t<td class=\"comp no\">No<\/td>\n\t<td class=\"comp no\">No<\/td>\n\t<td class=\"comp yes\">Yes<\/td>\n\t<td class=\"comp no\">No<\/td>\n<\/tr>\n<tr>\n\t<td colspan=\"8\">x.detachEvent('onclick',doSomething);<br \/>\n\tRemove the onclick event handler that executes function <code>doSomething()<\/code>\n\tfrom element x.\n\t<\/td>\n<\/tr>\n<\/table>\n\n<cite>Excerpt from http:\/\/www.<b>quirksmode.org<\/b>\/dom\/w3c_events.html<\/cite>","insert":"(${1:})$0","tool_tip_format":"html","display":"EVENTS detachEvent()","match":"detachEvent","image":"EVENTS"},
|
|
{"tool_tip":"<table cellspacing=\"7\" class=\"compatibility wide\">\n<tr class=\"compheader\">\n\t<th>Property<\/th>\n\t<th>Events<\/th>\n\t<th>Explorer 5 Win<\/th>\n\t<th>Explorer 6 Win<\/th>\n\t<th>Explorer 5.2 Mac<\/th>\n\t<th>Mozilla 1.75<\/th>\n\t<th>Safari 1.2<\/th>\n\t<th>Opera 8<\/th>\n\t<th>Netscape 4<\/th>\n<\/tr>\n<tr>\n\t<td class=\"declaration\" rowspan=\"2\"><div class=\"name\">removeEvent<wbr>Listener()<\/wbr><\/div>\n\tRemove an event handler from an element.\n\t<b class=\"warning\">W3C<\/b>\n\t<\/td>\n\t<td class=\"extracolumn\" rowspan=\"2\">click\n\t<br \/><br \/><a href=\"..\/js\/events\/registration.html\">Test page<\/a>\n\t<\/td>\n\t<td class=\"comp no\">No<\/td>\n\t<td class=\"comp no\">No<\/td>\n\t<td class=\"comp no\">No<\/td>\n\t<td class=\"comp yes\">Yes<\/td>\n\t<td class=\"comp yes\">Yes<\/td>\n\t<td class=\"comp yes\">Yes<\/td>\n\t<td class=\"comp no\">No<\/td>\n<\/tr>\n<tr>\n\t<td colspan=\"8\">x.removeEventListener('click',doSomething,false);<br \/>\n\tRemove the onclick event handler that executes function <code>doSomething()<\/code>\n\tfrom element x.\n\t<\/td>\n<\/tr>\n<\/table>\n\n<cite>Excerpt from http:\/\/www.<b>quirksmode.org<\/b>\/dom\/w3c_events.html<\/cite>","insert":"(${1:})$0","tool_tip_format":"html","display":"EVENTS removeEventListener()","match":"removeEventListener","image":"EVENTS"}],"tool_tip_format":"html"} |