Interactive Learning and Design

Introduction

Syllabus

Tutorials

Resources

Site Index




JavaScript

Two simple Java Scripts are used on the class pages. One for the tan disc at the bottom that calls up another image when clicked on.The script looks like this:

onMouseOver="document.pic1.src='images/whitedisc.gif'" onMouseOut="document.pic1.src='images/tandisc.gif'" onClick="return true"

And a second the automatically updates when the page was last modified. This is how that is scripted:

document.writeIn
( "Last Modified : "+ document.lastModified +" <br>" );

JavaScript offers many possibilities for interaction on your web sites. It is developing rapidly and cross platform standards are being worked out. Find out more about it by reading the sites listed below.

Also:
webmonkey/javascript
Web Review JavaScript



Jerrold Maddox jxm22@psu.edu