Archive for October, 2007

Microsoft Search Finally Relevant?

Wednesday, October 17th, 2007

Emails have been coming through touting the new capabilities in Live Search and at our division meeting, the VP said internal tests had shown live as relevant, if not more relevant than Google. There were some eyebrows raised at that comment, but he
did say this was the first time Microsoft’s internal tests had found this. […]

Testing if Something is Undefined in Javascript

Sunday, October 14th, 2007

Had a question come up from a colleague that used to cause problems when I first started using JavaScript. How to test whether a variable is undefined:

var a = ‘defined’
if(typeof a == ‘undefined’) {
alert(’it is undefined’);
}

Tweaking other people’s JavaScript functions

Wednesday, October 10th, 2007

Javascript is an interesting language and like any language, the more you use it, the more functionality you find. Without getting into the specfics, I occasionally need to modify a site’s HTML and or JavaScript with an external JavaScript file (i.e I can’t touch the page I am modifying, I can only touch one external […]

Firebug Lite to the Rescue

Tuesday, October 2nd, 2007

Using console.log with Firebug can be a real time saver. The problem arises when you need to test the same code in IE. You can either let the code fail with errors, or comment out your logging and use the dreaded alerts. That’s where Firebug Lite comes to the rescue – it replicates some […]