• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
JavaScriptSource

JavaScriptSource

Search 5,000+ Free JavaScript Snippets

  • Home
  • Browse Snippets
    • Addon
    • Ajax
    • Buttons
    • Cookies
    • CSS
    • Featured
    • Forms
    • Games
    • Generators
    • Image Effects
    • Math Related
    • Miscellaneous
    • Multimedia
    • Navigation
    • Page Details
    • Passwords
    • Text Effects
    • Time & Date
    • User Details

Automatic Breadcrumbs

This script will automatically build a “breadcrumb” navigational link to any page on your Web site. This allows your visitors to see exactly where they are on your Web site at an given time. Very easy to implement.

Navigation

Roman Numeral Converter 2

This script will convert whole numbers to Roman numerals, up to 3,999,999. Easy to use.

Math Related

Towers of Hanoi 2

See how you do in this wonderful game of skill and logic. Try to move all the disks onto another pole. Thing is, you can only move one disk at a time and you must follow size order (a bigger disk can’t go on a smaller disk). Good luck!

Games

Validate Numeric Only

This script verifies that a string is numeric, otherwise it deletes the non-numeric character.

Forms

Input Mask

This script uses unobtrusive JavaScript to implement “input masks.” The maximum field length is automatically limited to the length of the mask. The characters that are entered into the fields are constrained, and separators are automatically added.

Forms

Sticky Note Script

Sticky Note is an attractive DHTML script that pops up at the center of the page to display anything you choose. Users can customize, how often the note should appear on the page, for how long, and whether a fade-in effect should be accompanied.

Text Effects

Copyright Notice

This unobtrusive script will update the current year for the copyright notice on a page. No need to worry about changing it from year to year. Very easy to implement.

Page Details

Xmas Tree Generator

This script makes a random sized Christmas tree with random lights.

Miscellaneous

getXML

getXML

Obtain the contents of an XML element and convert it to text. This script is great for using with Ajax-type applications, when it’s necessary to send back the contents of an element to the server without knowing what’s there.

Addon

Hexadecimal Color Wheel

Hexadecimal Color Wheel

A dynamic color wheel displaying 4096 colors in a chromatic scale utilizing cross browser mouse event capture from a layer to display the hexadecimal codes of each color. Easily find that elusive color code you were looking for and learn how to manage layers and mouse events.

Page Details

  • « Go to Previous Page
  • Go to page 1
  • Interim pages omitted …
  • Go to page 30
  • Go to page 31
  • Go to page 32
  • Go to page 33
  • Go to page 34
  • Interim pages omitted …
  • Go to page 36
  • Go to Next Page »

Primary Sidebar

Popular Posts

Story Generator

IP Grabber – get a users IP address with JavaScript

Simple Calendar

Remove Ads

Astrological Calculator

Copyright © 2025 JavaScriptSource.com

  • About
  • Privacy Policy
  • FAQ
  • Jobs For Developers