Troy Thompson

Web Developer

Archive for November, 2007

  1. Must-have Firefox Extensions

    Published
    Tagged
    Content
    • General Browsing
      • Mr Tech's Local Install - Makes it easier to manage extensions and themes, install this one first.
      • Adblock Plus - Tired of ads? This ones for you.
      • Customize Google - Adds tons of options to your favorite search engine.
      • Download Statusbar - Gets rid of the downloads pop-up and puts it in your statusbar
      • Link Alert - Changes the cursor to indicate the target of a link.
      • Greasemonkey - Adds the ability to extend existing websites with javascript. If you are not a programmer, no worries there are plenty of existing scripts at http://userscripts.org
      • Unhide Password - Shows what you are typing into password fields, especially useful if you use more than one keyboard layout.
    • Web Development
      • Firebug - My favorite extension. Useful for javascript debugging, CSS, and much more.
      • Web Developer Toolbar - Various web developer tools. I use it mostly for accessability testing and auto-populating forms.
      • Colorzilla - Eyedropper for web.
      • Selenium IDE - Useful for acceptance testing and data entry.
      • HTML Validator - Validates without leaving the current site.
      • View Source Chart - Displays tag nesting information.
  2. Data Entry made Simple

    Published
    Last Updated
    Nov 29 2007
    Tagged
    Content

    As a web developer I often have to import data into web applications with no import feature.

    With a little programming knowledge you can import data without any knowledge of what is going on behind the scenes of a web application.
    (more...)

  3. Remove Link Outlines with CSS and jQuery

    Published
    Tagged
    Content
    1. Add a on click event to the links to blur them.
      $('#nav a').click(function(){$(this).blur(); });
    2. Add outline none to CSS
      #nav a { outline:none; }
    3. Profit

    Note: Adding CSS "outline:none;" to links will make it impossible for keyboard only users to navigate the site, be sure to offer an alternative.

  4. WordPress DST Fix

    Published
    Tagged
    Content

    I noticed WordPress does not automatically compensate for daylight savings time.

    I fixed it by putting the following in my functions.php in my theme.

    <?php
    define('TZ','America/New_York');
    function get_gmt_offset()
    {
      putenv('TZ='.TZ);
      return intval(strftime('%z', time()))/100;
    }
    add_filter('option_gmt_offset','get_gmt_offset');
    ?>

    List of Supported timezones.

    (more...)