- Free JavaScripts, Tutorials, Example Code, Reference, Resources, And Help

The JavaScript Source is an excellent JavaScript resource with tons of "cut and paste" JavaScript examples for your Web pages. All for free!

Featured Scripts from JavaScript Source

  • Ants
    Mike Hall

    As you move your mouse around the page a swarming army of ants scattered about the window will chase after it. (No wisecracks about buggy code now...) If an ant actually reaches the mouse cursor, we reposition it randomly around the edge of the window, and its chase starts again. The ant images are preloaded with a great image loading bar script, then the script begins. A great effect! Read More

  • Blackjack
    Mike McGrath

    Play even the classic game of Blackjack in JavaScript! (You might also know it as "21") The object of the game is to get the closest to 21. If you get higher than the dealer without going over, you win! Good luck, and don't gamble. ;-) Read More

  • 2-Way Background Images SlideS
    David Sosnowski

    Runs an image slideshow in the background of the page, underneath the page content. Used with the accompanying style script, images are discretely positionable in the page space, just like a regular slideshow. Leave out the style script, and the slideshow runs with full page-space presentation. IE 4.0+ or NS 6.0 (degrades gracefully in others) Read More

  • Animated MiniTabs
    Brian McAllister

    A sleek animation effect using tabs for a slide navigation bar. Degrades very nicely when JavaScript is turned-off. (06/16/2006) Read More

  • Battleship
    Jason Hotchkiss

    Enter into a naval battle against your computer. But watch out, your adversary is not stupid! Read More

  • Break Out
    Nick Young

    This is a JavaScript version of Break Out. Keep the ball bouncing and try to clear the entire field of blocks. Cool! Read More

  • Breadcrumb Trails

    The script creates the breadcrumb hierarchy based on the directory tree. Let your visitor's know where they are on your Web site. Read More

  • Box Puzzle
    John Chacko

    (Internet Explorer Only) Move the squares using the arrow keys to get them in the correct order. Fun! (11/14/2000) Read More

  • Ball Drop
    Dragos Saracu

    Click anywhere on the page and a ball will drop from the cursor and rebound several times based on gravity. Updated to be WC3 DOM1 cross browser compatible! Read More

  • Blur Text Script
    Stephan Werbeck

    No it's not your eyes going bad, it's the blurred text. This script creates an eerie aura around your text. Read More

  • JavaScript Diagram Builder
    Lutz Tautenhahn

    Library of objects and functions to display diagrams in Web pages. Read More

Recent Web Development Articles

  • UNESCO Project May Save Rare Languages as Social Media Provides New Hope
    Jul 27, 2014

    Of the estimated 7,000 languages that are spoken around the world, UNESCO projects half will disappear by the end of the century. But social networking websites such as Facebook and Twitter are in a position to revitalize and preserve indigenous, minority and endangered languages, linguists and language-preservation activists say. Read More

  • Responsive Design Cross-Platform
    Jul 26, 2014

    In the last few years, responsive design has changed the way designers build websites and the way design programs work. In this article we look at how this has changed the workflow for designers and developers. Read More

  • 10 Tips for Writing Code in WordPress Posts
    Jul 25, 2014

    In this article we look at 10 tips for writing code in WordPress posts. Depending on the nature of your blog, there might be times when you want to use pieces of code (such as HTML, CSS, PHP, or JavaScript) within your posts. The challenge is to make the code appear as code without being executed. Read More

  • Understanding CSS Support for Background
    Jul 24, 2014

    In the last few years, responsive design has changed the way designers build websites and the way design programs work. Many of these programs have now been rebuilt to deliver results cross-platform, for desktop, tablet, and mobile devices. This article explores the options and strategies of this feature. Read More

  • DareBoost Online Optimization Service Simplifies Offerings
    Jul 24, 2014

    DareBoost, the online website optimization tool that provides in-depth analysis of your webpage including both the quality and the performance of your site, all with just one click that launches a full diagnostic procedure. Read More