Buttons 2
These scripts all deal with JavaScript button effects. Every entry now also has a source code box so you may see the exact JavaScript code used to create the button. General questions about JavaScripts buttons should be posted to the JavaScript forum.
-
Cut & Paste Random Link Generator by JavaScript Team
Random Link Script, randomly chooses between a custom list of url's
-
Scrolling Text Button
Display a scrolling text message on a form button. Completely customizable.
-
Four-State Image Button
This is an image buttons with a simple style script, attach a few mouse events to an image (or images), and instant four-action buttons. Enjoy!
-
Button Text v1.0
This script lets you click a button & see the text inside that button, as more text appears the button gets larger.
-
Windows Buttons
This script produces very application-looking buttons (with an underlined letter) which can be used via ALT key! Works in MSIE, and Netscape.
-
Multipule Linked Radio Buttons
This script links multiple arrays of radio buttons. Each button can only be picked once.
-
Crazy Shaking Form Buttons
This script shakes the form buttons. You can set the shaking speed of each button.
-
Irish Kiss Button
Your Irish kiss! Mouseover button to receive your animated kiss. Click on button to load new page. Cool!
-
Button Ticker 2
This is a cross browser javascript button ticker that ticks a number of messages on a button.You can change the direction in which the message ticks. (i.e the order in which the message ticks).
-
Dynamic Audio Button
This script plays sound when the user mouses over the dynamic button . Clicking on button opens a new browser window. You can customize the dynamic button colors, style, link, and sound.
-
Move It!
The window cascades to the bottem right hand corner of the screen.
-
E-mail Link
This script opens the default e-mail client, writes a predetermined message into the subject line, and writes the page title and link into the body of the e-mail.
-
Refresh Button
Refresh the current page. This button works just like your browser's refresh button. Short and simple. Nice!
-
Scrolling Button Link
This script scrolls a message on a button and then loads a page when clicked.
-
Page Printer
By adding this code to your Web site, users can print out the current page by simply clicking a button.
-
Force-Click
Forces the user to click on a button. If the window is closed without clicking on the button it will be opened again. Really persistent.
-
Fading Button
(Internet Explorer Only) Move your mouse over the button and watch it fade to another color and then fade back to original color once you move your mouse off. The message on the button will even change after you click on it!
-
Image Button 2
Easily create active buttons with any image. Repositions image when your mouse passes over it and moves again when clicked on. Easy!
-
Click to Submit
Prevent the Return key from accidentally submitting a form. The user now MUST click on the submit button. Great!
-
Random Link Generator 2
Are you feeling, I don't know.... A little random? Then check out this random link generator! It randomly selects a URL from a pre-determined list and sends the user there!
-
Subject E-Mail
Let your visitors send you e-mail with a predetermined subject!
-
Textarea Alert
Use JavaScript to alert your user with the contents of a textarea box! This serves little purpose in the real world, but nonetheless is a great example of JavaScript. Type something in the box and hit Alert Me!
-
Up & Down Box
Allows the user to increase and decrease the value in a textbox by clicking up and down buttons. Useful if you would like to allow the user to quickly modify a value in your form. A short script too, just a few lines.
-
Window Position
Do you not like where window.open() opens your new windows? Using this JavaScript, you can actually have the new window open wherever you want! Look at our example to see what we mean! Really neat!
-
Window Sizer
This is a JavaScript that shows you different window dimensions. It helps you to customize your web pages with the dimensions that best compliment your web site.



