JavaScript

FROM WIKIPEDIA: JavaScript is a scripting language most often used for client-side web development. Its standardized name is ECMAScript, though "JavaScript" is much more commonly used. "JavaScript" is actually Netscape Communications Corporation's (and now the Mozilla Foundation's) implementation of the ECMAScript standard.

JavaScript is a dynamic, weakly typed, prototype-based language with first-class functions. JavaScript was influenced by many languages and was designed to have a similar look to Java, but be easier for non-programmers to work with. The language is best known for its use in websites (as client-side JavaScript), but is also used to enable scripting access to objects embedded in other applications.

Despite the name, JavaScript is unrelated to the Java programming language; though both have a common debt to C syntax. The language was renamed from LiveScript in a co-marketing deal between Netscape and Sun in exchange for Netscape bundling Sun's Java runtime with their browser, which was dominant at the time. JavaScript semantics is much more similar to the Self programming language.

"JavaScript" is a registered trademark of Sun Microsystems, Inc. It was used under license for technology invented and implemented by Netscape Communications and current entities such as the Mozilla Foundation.



Dynamic Menus can be built with JavaScript. A good example is days of the month script (which may be not currently working).


This is the script form the "computer splash page". The Name Game

<script type="text/javascript" language="JavaScript">
<!--
function RemoveContent(d) {
document.getElementById(d).style.display = "none";
}
function InsertContent(d) {
document.getElementById(d).style.display = "";
}

-->
</script>

<div id="acro_title">
name game?
</div>

<div id="abrev_message">
<script src="acronym/abrev.js" type="text/javascript"></script>
</div>

 

<a href="javascript:InsertContent('div1')"">Reveal full text of Acronym</a>

<br>

<div id="div1" style="display:none;">
<script src="acronym/text.js" type="text/javascript"></script>
</div>

<a href="javascript:InsertContent('div2')"></a>

<div id="div2" style="display:block;">
</div>