Home Applet Index SlideShows Nova Applets JavaScript Perl Software Purchase
Hot Tools
PopUp Maker code generator, CodeLifter page-code ripper, Scrollbar Styler, more... tons of *free* JavaScript!
Click Here!
JavaScript: MASTER Index More JavaScript -->
Free Download
Power Scripts
Floating Email-This-Link Script With URL Auto-Capture - *NEW*

This script creates a floating layer with an email-this-link script in it. The layer can be positioned anywhere on the screen, and it will float to that position whenever the window is scrolled. Enter the recipient address and click the send button, and the visitor's email client is opened, complete with a message in the email body that includes the link for whatever page in which the script is placed.

Floating Transparent SlideShow - *NEW*

This script creates a floating layer, within which is a sophisticated automatic slide show (including fade transitions) that cycles through the images that you specify. The slideshow layer can be positioned anywhere on the screen, and it will float to that position whenever the window is scrolled. If transparent .gif images are used, the slideshow will run transparently over the page content.

Instant Image Zooming Attaches To Any Image - *NEW*

This easy zoom-in/zoom-out script can be attached to any image in your page. The image size will toggle between two sizes you set whenever the image is clicked. The function can be attached to as many images in the page as you wish.

Amazing Draggable Slide Show - *NEW*

This script implements a draggable slideshow that can be used much like a popup window, but without the usual focus problems popups imply. Simple controls to show or hide the slideshow are also included, and any number of images can be used. IE browsers show a cross-fade effect between images in the sequence. Compatible with NS4-7 & IE.
No-Right-Click Script Opens Popup Window - *NEW*

Use this script to launch a popup window whenever the right mouse button is clicked. Useful for limited protection of page code and images; and the popup window can contain whatever fulmination on human morals you wish to deliver.

Advanced Push-Button Slide Show with Captions & Cross-Fade - *NEW*

A push-button controlled slide show with image captions and fader-effect image transitions. Cross-browser [NS4-7, IE-4&up] cut-and-paste script presents images in a slide show format, controlled by back, home, and forward buttons. Any number of images and captions can be used. Great for JavaScript newcomers, but a solid 
utility script, too. A download kit of the complete code and images is also available, free, on the site.

Amazing Draggable Layer - Use Instead of Popups - *NEW*
This script implements a draggable layer that can be used much like a popup window... but without the usual focus problems that popups often imply. Also included are simple controls to show or hide the draggable layer. Compatible with NS4-7 & IE.
Auto-Sizing Image Popup Window Script - *NEW*

Use this script to launch a popup window that automatically loads an image and resizes itself to fit neatly around that image. The script also places a title you set in the titlebar of the popup window. Any number of images can be launched from a single instance of the script.

Access Image URL to TextBox - *NEW*

When an image is clicked, this script will show the image URL in a textbox. Useful for cases where you want others to be able to copy the image address easily for linking... such as for banners, logo graphics, etc. A single instance of the script can be attached to any number of images in the page.

Active Image Resizing With Drag

This script allows you to resize one or more images on a page by clicking and dragging on the image(s). A single left-click will also reset the image to a default size. Any number of images may be used.

Amazing Interactive No-Layers Menu Script - Version I (Basic)

A fully interactive menu system with separate messaging box and programmable elements, including: link color and behavior; link box motion indent; link box border colors; link box border styles; link box border width; individual link messages; and default link message. Designed to replace costly Java applets that perform similar functions, the scripting uses no layers or divisions.

Amazing Frameless Popup Window without Title Bar - Version I

Say goodbye to ugly Windows popups! In IE4 and later, this script launches a popup window without the Windows frame or titlebar (that is, a "containerless" window). In other browsers, it launches a standard popup window. Position, width, and height are settable. Automatic closing of the window on leaving the page may also be optionally set.

Blocking JavaScript Errors

Place this simple script in the head of the page to block JavaScript errors in the page. We've found this useful with page material from sources other than our own that may contain errors (ad banners, automated news feeds, etc.).

Easy Instant Interactive Menu Links

Interactive menus are a snap with this easy technique... with over- and under-line motion, settable hot and cold colors, settable movement -- and no layers, spans, or divisions needed.

Great Web Effects!
Ya gotta get a look at these really great web effects.
Quick and easy to insert into your page.  Definite keepers!

Seriously Cool!

Light 'Em Up Multi-Color Interactive Mouse-Over Links

One of the most-asked questions in our support mail, this very simple technique shows how to add differently colored links to the same page that light up and underline and/or overline on mouseOver. No complex JavaScript calls are required, and the technique is a fundamental building block for interesting, interactive, color-differentiated menu systems.

Dirt-Simple Four-State Mouse-Interactive Image Buttons

Four-state image buttons -- with no multiple images, and no JavaScript?  Darned close!  Plug in a simple style script, attach a few mouse events, and bang -- instant action buttons even most power scripters would sweat to do.  Easy sailing, even for newcomers.

Cross-Browser JavaScript SlideShow - Version I (Basic)

Works on NS3-6, IE-4-6.  Any number of images can be used, and timing is adjustable.  Very easy to set up and use.

Cross-Browser JavaScript SlideShow - Version II with Image Cross-Fade Transitions

Works on NS3-6, IE-4-6.  Any number of images can be used, and timing is adjustable.  In IE browsers, a cross-fade effect occurs between images.  Very easy to set up and use.

Make This Page Your Homepage Script

Opens the Set Homepage dialogue in IE 5 and later browsers, allowing your visitors to set your page as their homepage.  Degrades gracefully in browsers that do not support this feature.

Bookmark This Page Script

Automatically opens the Favorites dialog in IE browsers to bookmark your page on the visitor's favorites list.  Degrades gracefully for NS and other browsers.

Adding An Icon With Your URL - Two Methods

You've probably noticed those cool icons that show up in the URL box and with Favorites (bookmarks) in IE5. Here are two super-easy methods to do it, along with information on icon creation and troubleshooting.

Basic No-Right-Click Script with Alert Box

Causes an alert box to be triggered when the visitor right-clicks on the page with the mouse.  Provides simple, though limited, protection of images, etc.

TriState Rainbow Color Link Script

Creates a link that cycles through three colors. Features include settable blink rate; settable blink colors; settable no-blink color; and on/off control via links (optional). A simple function call can also make the link start blinking when clicked, or stop blinking when clicked. A cool way to emphasize critical navigational elements.

Tristate Rainbow Scrollbar I - All Scrollbars

Causes all page scrollbars to blink in three colors; on/off control (optional) can turn effect on and off via links.

Change Scrollbar Colors Dynamically

Changes the color of the scrollbars in a page dynamically, via a simple JavaScript function; shows how to attach the scrollbar color change function to links and to mouseOver and other events.

E-mail Address Checker-Validator

Boilerplate script to check e-mail addresses for all common entry errors.  Uses regular expressions for a short, easy, reliable script to double-validate e-mail addresses.

Break Page Out Of Frameset (Frame Buster)

Causes the current page to break out of any frameset it may be captured within.  Prevents your page from being trapped in a frame on another site.

Open Page In Frameset

If you have a page that is supposed to open in a frameset, this will force the page to do so.  Solves a common problem where search engines separately list pages that belong in a frame.

Print Out The Current Page

This simple script opens the printer dialogue and prints out the current page.  Very useful for information pages, receipt pages, etc.

Capture Mouse X-Y Position - Quick-Take Mini-Tutorial

This straightforward, easy script and quick-take mini-tutorial shows how to reliably capture the mouse X and Y positions, dynamically, in NS4-6 and IE 4-6.  Also shows how to display positional values in form fields.

Dynamic Title Bar Date-Time Clock

A unique little script that dynamically shows the date and time up top in the Title Bar of the browser in IE4&up and NS6.  (NS3-4 show the date-time in the status bar.)

Boogey-Down Glow-And-Jump Animated 3-Color Neon Text

This script presents text surrounded by three changing 'glow' colors, while also shifting the vertical and horizontal layout for a striking animation effect strongly resembling neon light displays. Colors, dimensions, and rate are all settable.

Active Tri-State Roll-Over Images on Form Submit and Reset

Dump the ugly 'gray button' Reset and Submit on forms -- this script shows how to use active tri-state roll-over images, instead. A quick-take tutorial is included, along with images and notes on using styles with form elements for a flashier look and feel.

Ask Visitor For Name Script

Personalize your page with this very simple paste-it-in script that asks the vistor for his or her name when entering your page, then prints a "Hello" welcome message anywhere you wish in the body of the page. Very easy install for JavaScript newcomers.

Essential Tricks

Kit Downloads


JavaScript Timed Self-Closing Window Kit New
A neat little kit that lets you launch a popup window that will close itself after a preset period of time.  Also shows how to use a link to JavaScript self.close( ).

JavaScript Sound Download Kit New
Using sound with JavaScript is easy with this new download kit... shows you how to attach sounds to mouseover events on image and text links.

JavaScript 'Make This Page Your Start Page' Kit New
This really simple paste-it-in script allows you to quickly add a 'Make This Page Your Start Page' dialog to IE5+ browsers.

Quick Tips
Including an Icon with Your URL
You've probably noticed those cool icons that show up in the URL box and with Favorites (bookmarks) in IE5.  Here's how, and it's super-easy.

Mouse Stoppers
Disabling Left-Click, Right-Click, or Both Mouse Buttons

Protect your code, control what a visitor can do with the mouse on your page...

Disabling the Right (Right-Click) Mouse Button
Effectively protects your code from prying eyes by disabling the availability of the right-click context menu's View Source option.

Disabling the Left (Left-Click) Mouse Button
We don't know exactly why you'd want to do this... but someone asked us for it, so here it is.

Disabling Both Left and Right Mouse Buttons
A useful technique for display-only pages, as well as protecting your underlying source code.

Light-Up Links

Using the Browser History for a Universal 'Go Back' Link
This simple JavaScript trick can save you piles of work when you need a single page that will return to any page that called it. 

Including an Automatic 'Bookmark This Page' Text Link
A flexible, easy script to put to work... when your visitor clicks on the link it pops open the browser Add Favorites dialogue, inviting your visitor to bookmark your site.

Light-Up, Super-Easy, Glow-in-the-Dark Links
If you're using MSIE, you've undoubtedly noticed that most of our links 'light up' when you pass your mouse over them.  Not only a great effect, it helps users navigate your site more quickly and easily.  We show you how... and it's surprisingly simple to do!

E-Mail Controls

Control Your MailTo Links!
Make your e-mail links do what you want them to...

Including the Subject Line in E-Mail Text & Image Links
It's really simple to add a subject line to the e-mail when visitors click on your e-mail 'mailto' links - and it does help keep things organized when those e-mails arrive in your box with your own pre-formatted subject line message.  Super simple.

Including a Copy-To Address in Your E-Mail Links
This simple code snippet shows you how to send copies of an e-mail off your mailto links to one or more addresses in addition to the main mailto e-mail address.  Quite useful when mail from your site needs to go to two or more people... very easy.

Using Both Subject & Copy-To with E-Mail Links
Basically a combination of the above two scripts, this shows you how to attach multiple parameters to your e-mail mailto links.  Quite easy - but have a look at the previous two scripts first.

Including a Body Message in Your E-Mail Links
A very simple code snippet that shows you how to 'force' a message into the text area (called the 'body' ) of an e-mail when a MailTo link is clicked.


- Copyright 1995-2014 by CodeBrain.com
CodeBrainŽ CodeBrain.comŽ
All  Rights Reserved

A wise man eats both with his mouth and with his shoes.
Four candles do not make the camel sing.