Welcome
You have arrived at this site, which demonstrates various JavaScript applets that I have built. There are five applets that demonstrate specific functionality. They will be described in more detail at their respective locations.
Before moving on, I would like to point out the unique JavaScript function which drives the navigation; what appears to be a complete website, with various pages linked, is actually a single page. The individual page contents are divided up into layers and the visibility is triggered dynamically through the onclick="changeVisibility('mainContent')" event handler embedded in the respective link; which triggers the following code:
function changeVisibility(newLyr){
if (firstRun == 1){
var oldElement = document.getElementById(oldLyr);
oldElement.style.visibility="hidden";
}
var newElement = document.getElementById(newLyr);
newElement.style.visibility="visible";
oldLyr = newLyr;
firstRun = 1;
}