The way to get to where you want to go today.
Behind the Curtain
Where I might say a few words from time to time to notify visitors of changes or additions. Yeah, right. Or maybe I will just comment on some current event. A policy of an eye for an eye, will only lead to everyone being blind. Pay no attention to that man behind the curtain.
As the page is loaded, <SCRIPT> tags are encountered by the browser. These <SCRIPT> tags contain code that executes as the HTML page is being parsed. This code writes content into the page using an object supplied by the browser. For this example, the Microsoft® JScript® code calls the document object's Write method, and passes it a string. All of this is done on the client side: no special server side processing, no PERL hacking, no fuss, no muss! The code <SCRIPT LANGUAGE="JavaScript"> <!-- // These next lines of code execute when the script tag is parsed. var d = new Date() var h = d.getHours() if (h < 12) document.write("Good morning!") else if (h < 17) document.write("Good afternoon!") else document.write("Good evening!") document.write("<br><br>Welcome to the world of JScript. ") document.write("<br>Just in case you were wondering, it's " + d + ".") //--> </SCRIPT>
The code <SCRIPT LANGUAGE="JavaScript"> <!-- // These next lines of code execute when the script tag is parsed. var d = new Date() var h = d.getHours() if (h < 12) document.write("Good morning!") else if (h < 17) document.write("Good afternoon!") else document.write("Good evening!") document.write("<br><br>Welcome to the world of JScript. ") document.write("<br>Just in case you were wondering, it's " + d + ".") //--> </SCRIPT>
| RELOAD | ^ TOP | < BACK |