background
|
|
News
All in one Place
All of your regular news in one place.
More icon

Random
|
|
Up Image
Navigation
Search this Site
Enter your search terms

Site Breadcrumb - You are here
|
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