JavaScipt is a very interesting technology. It enables a web page designer to do a number of very interesting things. For example, the clock image that follows the mouse on my first page is performed with JavaScript. Any and all serious web designers shoudl know a scripting language. The more common ones are JavaScript and VBScript. JavaScript is usually preferred as it works in the more popular browsers, i.e., Internet Explorer, Netscape, Mozzilla, etc. VBScipt works well but is only supported on the Windows platform. Be looking at this page as I update the JavaScipt examples below. JavaScript Examples/Samples: Use these JavaScript samples to expand your usage of JavaScript and to dress up your web pages. I will not duplicate the samples shown in the textbook (at least eactly). The samples shown below were done effortlessly using Macromedia Dreamweaver MX — it is an excellent program and I believe students can get an educational discount. If you have any problems working with the text (.txt) files below, use the browser command to display the source code. All of the code here can be displayed through the browser by displaying the source code. In Internet Explorer, pull down thge View menu and select Source. In Mozilla or Netscape, pull down the View menu and select Page Source. If you use Mozilla or Netscape, clicking on the text (.txt) links below will open the text file in the browser. Using Internet Explorer, the text is interpreted by the browser and shows the result, meaning to see the code you will have to pull down the View menu and select Source. Jump Menu — a jump menu is a great way to include hyperlinks in a pull-down menu. For example: See the code here as a text (.txt) file — JumpMenu.txt. Rollover Images — when you float your mouse over this image (Hey), it changes to show another (There). You could even make it clickable to a web page. This rollover takes you to www.seark.edu if you click it.
Flash Button — part of Macromedia Dreamweaver MX. See the code here as a text (.txt) file — FlashButton.txt. Flash Text — part of Macromedia Dreamweaver MX. This is a rollover, but it uses a graphic that looks like text. See the code here as a text (.txt) file — FlashText.txt.
| ||||