Dreameaver JavaScripts
- Check Browser (JavaScript affects
<BODY>)
- Detects the browser and allows you to have different versions of the same
website for different browsers. Requires you to create more than one version
of your website.
- Check Plugin (affects <BODY>)
- Detects whether a particular plugin is already installed on the browser,
and if not, offers the visitor an option to obtain it.
- Go to URL (affects <BODY>)
- Automatically sends a visitor to another location.
- Similar to <meta http-equiv="refresh" content="0; url=newlocation.html">
- Open
Browser Window (affects a link -- you need to create a null link <a
href="#"> to make it work)
- Opens a link in a new browser window. Can specify exactly how and where
the window will appear.
- Similar to <a href="location.html" target="_blank">
- PopUp Message
(affects a link -- you need to create a null link <a href="#">
to make it work)
- Opens a dialog box when a visitor clicks on the link.
- Preload Images (affects <BODY>)
- Loads images into the computers memory so visitors won't have to wait
for the images to load on subsequent web pages.
- Swap Image (affects <IMG>)
-- Same as Rollover Image
Rollover Image (Insert>Image
Objects>Rollover
Image)
- Creates a rollover effect with images -- when the mouse is hovering over
the image, it will change to the new image, then revert back to the original
when the mouse is moved away from it.
- Validate Form (affects <FORM>)
- Used to ensure that visitors fill out the various parts of the form
that you want them to.