• 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

onMouseOver Button

onMouseOver Button

When a user moves the mouse over the button, it will change text. When the mouse is moved away, the text will change back. Perfect for adding short instructions on a submit button.

Forms

Astrological Calculator

Astrological Calculator

A handy astrological calculator that will calculate both your Western and Chinese birth Signs.

Math Related, Featured

Remove Ads

Remove Ads

Catches all clicks on ads and writes a cookie on the visitor’s computer. Until the cookie expires, no ads are shown. Cool!

Featured, Cookies

Simple Calendar

Simple Calendar

This script displays a calendar page of the chosen month and year. The function takes a date object as its parameter. If it is omitted, the calendar will default to the date on the client computer.

Time & Date, Featured

Random Link Generator 2

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!

Buttons

Drop Down Menu Generator

Drop Down Menu Generator

Simply select the options you would like in your pulldown menu, enter the text and URL for each listing, and click the button to generate the source code. Easy! And, we can even mail the generated code to you!

Generators

Vertical Marquee

Vertical Marquee

Text scrolls from bottom to top, pauses, then scrolls up and out of view. A link can be added, opening in a new window. Configuration is simple.

Text Effects

insertAfter()

insertAfter()

Use this snippet to insert a node after another node. Quite handy in laying out Web pages.

Addon

Reload on Resize

Reload on Resize

Useful for situations when a page resize moves the page elements improperly or causes JavaScript errors, which has been known to occasionally occur on pages with layers. As a solution, this script reloads the web page when the user resizes the page.

Page Details

Multiple onLoad 2

Multiple onLoad 2

Need to load several functions after the page loads? Use this snippet to call several functions using the onLoad event handler. Easy to use.

Addon

  • « 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
  • Go to Next Page »

Primary Sidebar

FREE UPDATES!

Get the latest updates in your inbox for FREE!

Popular Posts

Story Generator

IP Grabber – get a users IP address with JavaScript

Simple Calendar

Remove Ads

Astrological Calculator

Copyright © 2023 JavaScriptSource.com

  • About
  • Privacy Policy
  • Submit
  • FAQ
  • Jobs For Developers
  • Contact Us