October, 2007

  1. 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) {}

  2. 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…