![Motivation Poem](http://lh4.google.com/image/thekhuc/RnHIwCGWRSI/AAAAAAAAAZU/30B3ggLX4o0/motivation_poem_s.jpg?imgmax=512)
Wednesday, January 24, 2007
Saturday, January 20, 2007
Guestbook
Please take a moment to sign the guestbook to let me know that you were here. Thanks and keep in touch! :)
George Mason Tops Northeastern, 78-53
Today was my first time attending a basketball game at George Mason University. It was a pretty good game, because we won. :)
Go Patriots!
![George Mason Tops Northeastern, 78-53](http://lh6.google.com/image/thekhuc/RnHIviGWRQI/AAAAAAAAAZE/-0x_B9a6VWY/s400/gmuticket1.jpg)
Go Patriots!
![George Mason Tops Northeastern, 78-53](http://lh6.google.com/image/thekhuc/RnHIviGWRQI/AAAAAAAAAZE/-0x_B9a6VWY/s400/gmuticket1.jpg)
![George Mason Tops Northeastern, 78-53](http://lh3.google.com/image/thekhuc/RnHIvyGWRRI/AAAAAAAAAZM/NBzXPVHJof8/s400/gmuticket2.jpg)
Tuesday, January 9, 2007
Flash and Javascript
A useful function to interact with Flash movie with Javascript. Works in most browsers. Thanks Permadi.com! :)
function getFlashMovieObject(movieName)
{
if (window.document[movieName])
{
return window.document[movieName];
}
if (navigator.appName.indexOf("Microsoft Internet")==-1)
{
if (document.embeds && document.embeds[movieName])
return document.embeds[movieName];
}
else // if (navigator.appName.indexOf("Microsoft Internet")!=-1)
{
return document.getElementById(movieName);
}
}
Monday, January 8, 2007
Cross-Browser getElementById()
A useful Javascript function to return the ID of an element that is supposed to work on most browsers.Thanks Netlobo.com! :)
function returnObjById( id )
{
if (document.getElementById)
var returnVar = document.getElementById(id);
else if (document.all)
var returnVar = document.all[id];
else if (document.layers)
var returnVar = document.layers[id];
return returnVar;
}
Subscribe to:
Posts (Atom)