javascript Archives

  1. JQuery 1.4

    “jQuery is a fast and concise JavaScript Library that simplifies HTML document traversing, event handling, animating, and Ajax interactions for rapid web development.” There is a 14 days of jQuery celebration you can check out at jquery.com

  2. IE6 – Stop the image flickering

    After trying many techniques including pre-caching images with javascript and web server caching settings, a simple fix has been found to stop the annoying background image flickering for good. Run this on load: try {document.execCommand(“BackgroundImageCache”, false, true);} catch(e) {}

  3. Javascript – Checking the Existance of an Object

    To test for an undefined function or variable, you must do so by referencing the parent object. This will usually be an Object that was instantiated previously or the current object ‘this’. If the variable was declared globally, you need to reference the top level object in the JavaScript hierarchy ‘window’. For example: var myVar…