To the IndexJavaScript Archives
Imagemap

CODE CONTAINER

Instead of paying hundreds of dollars for a programming package, I employ JavaScript to handle all my quick-and-dirty data processing, and there's nothing like JavaScript's simplicity for web gimmicks. Here are some JavaScript snippets of code for you to scan and hack to your hearts desire. I don't think anything secret and proprietary can be done in JavaScript or HTML, so this is in keeping with the free spirit of the net.

All Rights Reserved. These functions can be re-used or modified, if credit is given in the source code. I will not be held responsible for any unwanted effects due to the usage of these functions or any derivative. No warrantees for usability for any specific application are given or implied.

None of these have been thoroughly debugged yet, but they're worth a look and a try. If you find bugs, please inform me.

  • unWebify and replaceAll
    My first two JavaScript functions. unWebify removes the "+", "&" and escape codes from a string, while replaceAll takes a string and replaces all (sic) occurrences of one string with another string.
  • statuScroll
    A little scroller that sends text scurrying across the bottom of the window, was inspired by Tan Choon Siang's and Tammy Yap's pages. I think the code is quite easily adaptable for any use.
  • ncsa2csim
    Converts NCSA imagemaps into Client-Side imagemaps, for use with browsers such as Netscape.

Don't forget to check out Netscape's JavaScript Documentation


Copyright © 1996 Philip Tan