ClickOnChris

Christopher G Johnson: programmer, entrepreneur, gamer

Archive for December, 2008

A Better Window.onLoad with jQuery

without comments

I have recently come to discover the javascript library jQuery. My favorite feature is the window.onLoad replacement, which is actually faster than window.onLoad and can be used multiple times in one document.

<span style="color: #008000;">  $(document).ready(function(){
    // Your code here...
  });</span>

Any code in the Your code here.. block will execute as soon as the page is loaded. This is useful for referencing DOM elements which would have been “undefined” before the page was fully loaded by the browser.

Post to Twitter

Fork me on GitHub

Written by clickonchris

December 23rd, 2008 at 9:02 pm

Top movies I wish would get released on Blu-Ray

without comments

I’m a High-Def nerd. I like my HD satellite TV, HD video games, and Blu-Ray(or HDDVD) HD movies. Unfortunately there are a handful of my favorite movies that don’t exist on blu-ray yet. Can someone make a call and get this fixed? They are:

  • Gladiator
  • Heat
  • Saving Private Ryan
  • Lord of the Rings Trilogy
  • Fight Club

EDIT (4/3/2010): Saving Private Ryan will be the last of these released on May 4, 2010.  I’m happy to see that I’ve got so much traction with the movie industry ;-)

Post to Twitter

Written by clickonchris

December 6th, 2008 at 9:06 pm

Posted in Uncategorized

Twitter links powered by Tweet This v1.8.2, a WordPress plugin for Twitter.

Switch to our mobile site