Webmonkey
Powered by Atomz.com



Quick Reference:

• Javascript Code Library
HTML Cheatsheet
Special Characters
Color Codes
Browser Chart
Stylesheet Guide
Unix Guide
Glossary
Domain Registries

Reference   JavaScript Code Library

User Interface

BrowserDetector()
You can use the BrowserDetector function to isolate the potentially useful portions of the User-Agent string.
All JavaScript browsers

WM_changeLinks
This function will change all instances of a given link on your page to a new URL.
All JavaScript browsers

WM_changeLayerBgcolor
This function changes the background color of one or more DIVs or SPANs.
IE 4, Netscape 4

WM_netscapeCursorPos
This code extends Netscape 4 by capturing the cursor position when a mouse event fires and storing it on an IE 4-style window.event object for cross-browser scripting.
Netscape 4

WM_imageSwap
WM_imageSwap() changes the source of a given image so that it displays a new image.
IE 4, Netscape 3-4, Opera 3

WM_preloadImages
WM_preloadImages() takes a list of images as arguments and then caches them.
IE 4, Netscape 3-4, Opera 3

SM_dailyBgColor
This function automatically changes the page's background color each day of the week.
All JavaScript browsers


Feedback  |  Help  |  About Us  |  Contribute  |  Jobs
Advertise  |  Privacy Statement  |  Terms and Conditions

Copyright © 1994-2000 Wired Digital Inc., a Lycos Network site. All rights reserved.