Implementing DHTML in WebExpress

Click here for a zip file containing all of the scripts

All Scripts have been made compatible with new DOM browers.  (Unless they have the strikethroughs...)
Compatibilitiy includes IE 4.x, 5.x, 6.0, and Netscape 4.x, and 6.0.

rollover.js

  Sets mouseovers.  'Changeimg' automatically adds 'on' to the image name. ex: 'home.gif' becomes 'homeon.gif'.  'Changeback' sets the image back to its original name.

linkstate.js

Checks the browser location and changes the current page's link to its filename + 'current'.  ex: 'home.gif' becomes 'homecurrent.gif'.

 

pulldown.js

Script for setting a 'Drop Down Link Menu' which uses the special 'this' variable.

 

detect.js

  A browser detect which sets variables for cross-browser DHTML scripts.

changebgcolor.js

Changes the background color of a named element.

hide.js/show.js

Hides/shows a named element.

move.js

Moves a named element.

animate.js

Animates a named element.

setz.js

   Sets the layer priority of a named element.

preload.js

  Preloads images which other scripts might use.

switchimg.js

  Changes an image to whatever filename you give it.  

changefgcolor.js

Changes the text color of a named element.

password.js

Prompts the user for a password; then sends the user to the password + '.htm'.

framebreak.js

Prevents a page from being loaded into an unwanted frameset.

changewidth.js

Changes the width of a named element.

changeheight.js

Changes the height of a named element.

Conclusion