• Happy Coding

Archive for November, 2008

Acrobatic Clock

http://billychasen.com/clock/

Gmail Themes

Nice, Googlemail now supports Themes and they have updated their look&feel. I like it.

By the way: For the nerds. You will love the ‘Terminal’-theme. I love it. ;)

Getting URL parameters via JavaScript

Just found a nice JavaScript example at netlobo.com — using regular expressions — for getting parameters from the URL:

function gup( name )
{
  name = name.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]");
  var regexS = "[\\?&]"+name+"=([^&#]*)";
  var regex = new RegExp( regexS );
  var results = regex.exec( window.location.href );
  if( results == null )
    return "";
  else
    return results[1];
}