Buttons 2 | JavaScriptSource

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
    JavaScript Team Mar 25, 2012

    Random Link Script, randomly chooses between a custom list of url's

  • Scrolling Text Button
    Apr 18, 2005

    Display a scrolling text message on a form button. Completely customizable.

  • Four-State Image Button
    Sep 29, 2003

    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
    Joshua Davison May 24, 2002

    This script lets you click a button & see the text inside that button, as more text appears the button gets larger.

  • Windows Buttons
    Apr 8, 2002

    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
    Alex Walters Mar 27, 2002

    This script links multiple arrays of radio buttons. Each button can only be picked once.

  • Crazy Shaking Form Buttons
    Mar 25, 2002

    This script shakes the form buttons. You can set the shaking speed of each button.

  • Irish Kiss Button
    Happy Smart Mar 15, 2002

    Your Irish kiss! Mouseover button to receive your animated kiss. Click on button to load new page. Cool!

  • Button Ticker 2
    Premshree Pillai Mar 4, 2002

    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
    Happy Smart Feb 19, 2002

    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!
    Feb 14, 2002

    The window cascades to the bottem right hand corner of the screen.

  • E-mail Link
    Happy Smart Jan 10, 2002

    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
    Happy Smart Dec 27, 2001

    Refresh the current page. This button works just like your browser's refresh button. Short and simple. Nice!

  • Scrolling Button Link
    Happy Smart Dec 19, 2001

    This script scrolls a message on a button and then loads a page when clicked.

  • Page Printer
    Sep 17, 2001

    By adding this code to your Web site, users can print out the current page by simply clicking a button.

  • Force-Click
    Wolfgang Pichler Jul 13, 2001

    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
    Aidan Samuel Jan 29, 2001

    (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
    Jan 17, 2001

    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
    Shawn Hafen Dec 5, 2000

    Prevent the Return key from accidentally submitting a form. The user now MUST click on the submit button. Great!

  • Random Link Generator 2
    Sep 9, 2000

    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
    Sep 9, 2000

    Let your visitors send you e-mail with a predetermined subject!

  • Textarea Alert
    Sep 9, 2000

    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
    Sep 9, 2000

    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
    Sep 9, 2000

    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
    Sep 9, 2000

    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.