J.

  1. Viewing All "handy" Posts

  2. DVD Cover Template

    PSD with the exact layout of a DVD-cover.

  3. Compare Directories in Unix

    Unix-command for comparing directories. Handy for checking if files are missing!

  4. Fix to get JS close a freakin window

    var win=window.open(“”,”_self”);

    win.close();

  5. Get LatLan values from Google Maps

    Small js-script to get the center position of current shown GMap:

    javascript:void(prompt(false,gApplication.getMap().getCenter()));

  6. En zo werkt AJAX wel in InternetExplorer

    Doordat IE ajax-requests cached krijg je steeds dezelfde waarden terug. Daarom achter de request-url altijd een random getal meesturen.

  7. Convert links to clickable ones in text

    A handy function to search a text for url’s and make ‘em clickable.

  8. Ajax loading gif generator

    Generate stock loading animations, based on background/foreground-colors and type.

  9. The ExtendedArray Class

    This class saved my life.

  10. 21 Simple and Useful jQuery Tutorials You Might Have Missed | Queness

  11. NaN-fix for jquery.color

    Change:

    if (fx.state == 0)
    

    To:

    if (fx.state == 0 || 
    fx.start.constructor != Array || 
    fx.end.constructor != Array)
    

    Sometimes when this code is executed. fx.State is not 0, but fx.start and fx.end haven’t been initialized as RGB arrays. In the updated code, we initialize the fx.start and fx.end arrays if they haven’t been initialized.