javascript Programming Glossary: quirksmode
Blur Event Does not get Fired in IE7 and IE6 http://stackoverflow.com/questions/1277372/blur-event-does-not-get-fired-in-ie7-and-ie6 function alert 'focusout' Again this is proprietary see quirksmode but may be appropriate if it solves your problem. You could..
How to disable browser or element scrollbar, but allow scrolling with wheel or arrow keys? http://stackoverflow.com/questions/1326570/how-to-disable-browser-or-element-scrollbar-but-allow-scrolling-with-wheel-or-a keyCode reference mousewheel plugin keydown keypress @ quirksmode Update 12 19 2012 The updated location of the mousewheel plugin..
clicking on a div's scroll bar fires the blur event in I.E http://stackoverflow.com/questions/2023779/clicking-on-a-divs-scroll-bar-fires-the-blur-event-in-i-e Apparently it only happens n IE7 and below and IE8 in quirksmode. Here's something I found via Google https prototype.lighthouseapp.com..
ExtJS : handling browser exit event (click on cross-exit) http://stackoverflow.com/questions/2808840/extjs-handling-browser-exit-event-click-on-cross-exit onbeforeunload javascript event And then there's always quirksmode . Unfortunately the load unload events are not yet covered by.. the load unload events are not yet covered by quirksmode. As stated on the page I haven ™t tested the load and unload..
Which mobile browsers support javascript (and Ajax)? http://stackoverflow.com/questions/3255048/which-mobile-browsers-support-javascript-and-ajax share improve this question I've found ppk's list on quirksmode very helpful. It's not a 100 complete resource but should cover..
Close Parent window in fireFox http://stackoverflow.com/questions/343744/close-parent-window-in-firefox firefox share improve this question Scissored from quirksmode EDIT added a bit of context as suggested by Diodeus Theoretically..
When to use setAttribute vs .attribute= in JavaScript? http://stackoverflow.com/questions/3919291/when-to-use-setattribute-vs-attribute-in-javascript should always use the direct .attribute form but see the quirksmode link below if you want programmatic access in JavaScript. It..
How to know if .keyup() is a character key (jQuery) http://stackoverflow.com/questions/3977642/how-to-know-if-keyup-is-a-character-key-jquery
Javascript getCookie functions http://stackoverflow.com/questions/4003823/javascript-getcookie-functions data with Javascript one on w3schools.com and one on quirksmode.org I would like to know which one I should use For example.. unescape document.cookie.substring c_start c_end return quirksmode function readCokie name var nameEQ name var ca document.cookie.split..
How to reference the caller object (“this”) using attachEvent http://stackoverflow.com/questions/4590122/how-to-reference-the-caller-object-this-using-attachevent dom this share improve this question From this quirksmode article with regard to attachEvent Events always bubble no capturing..
How do I know when I've stopped scrolling Javascript http://stackoverflow.com/questions/4620906/how-do-i-know-when-ive-stopped-scrolling-javascript event listeners this should give a good introduction quirksmode Advanced event registration models share improve this answer..
addEventListener vs onclick http://stackoverflow.com/questions/6348494/addeventlistener-vs-onclick on MDN element.attachEvent on MSDN Jquery.on quirksmode blog Introduction to Events CDN hosted javascript libraries..
JavaScript to scroll long page to DIV http://stackoverflow.com/questions/68165/javascript-to-scroll-long-page-to-div even better according to the great compatibility tables on quirksmode this is supported by all major browsers share improve this..
Get entire document HTML as string http://stackoverflow.com/questions/817218/get-entire-document-html-as-string is in the DOM Parsing and Serialization specification. See quirksmode for browser compatibility for what will work for you. All support..
Retrieving percentage CSS values (in firefox) http://stackoverflow.com/questions/8387419/retrieving-percentage-css-values-in-firefox steweb tUAKA function getStyle el styleProp from ppk's quirksmode var x document.getElementById el if x.currentStyle var y x.currentStyle..
Is the recommendation to include CSS before JavaScript invalid? http://stackoverflow.com/questions/9271276/is-the-recommendation-to-include-css-before-javascript-invalid that most mobile browsers should support it. According to quirksmode iOS 2.2 Android 1.0 use WebKit 525. I have no idea what Windows..
Why does Javascript getYear() return 108? http://stackoverflow.com/questions/98124/why-does-javascript-getyear-return-108 getYear has been deprecated in favour of getFullYear from quirksmode To make the matter even more complex date.getYear is deprecated..
How do I find the DOM node that is at a given (X,Y) position? (Hit test) http://stackoverflow.com/questions/1569775/how-do-i-find-the-dom-node-that-is-at-a-given-x-y-position-hit-test use document.elementFromPoint x y MSDN ref Mozilla ref QuirksMode article Returns the element from the document ... which is the..
Get computed font size for DOM element in JS http://stackoverflow.com/questions/1955048/get-computed-font-size-for-dom-element-in-js getStyle element 'font size' More info Get Styles QuirksMode Edit Thanks to @Crescent Fresh @kangax and @Pekka for the comments...
Learning JavaScript in one weekend? [closed] http://stackoverflow.com/questions/2687566/learning-javascript-in-one-weekend tutorial Learning Advanced JavaScript Interactive tutorial QuirksMode The prime source for browser compatibility information A re..
Firefox select text range http://stackoverflow.com/questions/2813612/firefox-select-text-range
Is there a more comprehensive JavaScript function reference than w3schools? [closed] http://stackoverflow.com/questions/4159226/is-there-a-more-comprehensive-javascript-function-reference-than-w3schools impressive function references for JavaScript. Of course QuirksMode and w3schools have good information but they're not as complete..
JavaScript get Styles http://stackoverflow.com/questions/4172871/javascript-get-styles check out these article on how to get it Get Styles on QuirksMode Get Computed Style Get the rendered style of an element From..
debugging javascript for IE6 http://stackoverflow.com/questions/464644/debugging-javascript-for-ie6 debug javascript in IE6 with Microsoft Script Debugger The QuirksMode website is useful site to determine which bits of CSS is implemented..
Set cookie wih JS, read with PHP problem http://stackoverflow.com/questions/5045053/set-cookie-wih-js-read-with-php-problem subdomains. And you need to generate an expires date. From QuirksMode function createCookie name value days if days var date new Date.. expires path domain .example.com I added the domain bit to QuirksMode's function. EDIT The example below originally referenced pages..
Get the referrer, paid/natural and keywords for the current visitor with Google Analytics http://stackoverflow.com/questions/5631830/get-the-referrer-paid-natural-and-keywords-for-the-current-visitor-with-google a function called readCookie I tend to use the one from QuirksMode For referral medium and campaign information var utmz readCookie..
Typical pitfalls of cross-browser compatibility [closed] http://stackoverflow.com/questions/154132/typical-pitfalls-of-cross-browser-compatibility html css cross browser share improve this question Quirksmode has a comprehensive list of a lot of differencies requiring..
How to detect page zoom level in all modern browsers? http://stackoverflow.com/questions/1713771/how-to-detect-page-zoom-level-in-all-modern-browsers uses device pixels but MQ width uses CSS pixels thanks to Quirksmode widths FF3.6 no known method FF4 media queries binary search.. width of a position fixed width 100 div. from here Quirksmode's widths table says it's a bug innerWidth should be CSS px ...
How can I detect the browser with PHP or JavaScript? http://stackoverflow.com/questions/1895727/how-can-i-detect-the-browser-with-php-or-javascript question The best way to do this in JS I found is on Quirksmode . I made one for PHP which should work with common browsers..
What are the typical reasons Javascript developed on Firefox fails on IE? [closed] http://stackoverflow.com/questions/2599020/what-are-the-typical-reasons-javascript-developed-on-firefox-fails-on-ie Key event codes vary wildly though if you look at Quirksmode or JavaScript Madness it's hardly specific to IE Safari and..
Javascript e.keyCode doesn't catch Backspace/Del in IE http://stackoverflow.com/questions/4084715/javascript-e-keycode-doesnt-catch-backspace-del-in-ie
What is the best online javascript/css/html/xhtml/dom reference? [closed] http://stackoverflow.com/questions/63918/what-is-the-best-online-javascript-css-html-xhtml-dom-reference xhtml dom browser quirks and support. I've tried Sitepoint Quirksmode W3Schools but all of these seem to be lacking in certain aspects..
What are some of the best reference sites for HTML and JavaScript programming http://stackoverflow.com/questions/823718/what-are-some-of-the-best-reference-sites-for-html-and-javascript-programming CSS Attributes IE CSS Reference JavaScript Language DOM Quirksmode DOM Javascript CSS Compatibility ZVON HTML XML CSS DevGuru JavaScript..
Is getElementByClass safe to use across browsers like getElementById? http://stackoverflow.com/questions/900117/is-getelementbyclass-safe-to-use-across-browsers-like-getelementbyid not at all in Internet Explorer or Konqueror according to Quirksmode . If you want to use it cross browser you'll have to have to..
|