
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!

Go Patriots!


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)