Alphabetical Script Listing for 'M'

Magic Squares

Here is a fun JavaScript game. Try to put the squares back in order. The '0' repesents the empty spot, and click a square next to the 0 to make them trade places! Get the squares back in order and you win!

Mail - Pick Subject

Use JavaScript to help organize your visitor e-mail. Visitors pick from several predetermined subjects the most appropriate subject for their e-mail. Visitor are also prompted to reenter information for incomplete or invalid entries. A cookie also records the visitor's name for future correspondence.

Mailing List

Use JavaScript to sign up visitors for your mailing list. Once again, JavaScript ensures that the visitors have filled out the form completely and correctly. Visitors area also prompted to reenter any incomplete or invalid entries.

Mangle

Hide your e-mail address from spammers. This script changes a spam-proof e-mail address into a readable, mailto address link.

Manual Frame Break

Place this scipt on any page to allow visitors to break out of frames with a simple link. Easily choose whether or not to view the page within frames. Cool!

Marquee

(Internet Explorer preferred) This JavaScript scrolls information back and forth across a page - the message appears to float back and forth! If you don't have Internet Explorer, it'll just show the message on the screen. Works great!

Math Flash Cards

This is a multiple choice Math Flash card game for addition, subtraction, and multiplication. You can change the difficulty (how large the numbers get in the problem) and which math function to use. It also tracks your accuracy and response time. Works with IE and Netscape 6

Math Questions Generator

This is a short math questions generator to exercise your brain. Question is XxY=A, X+Y=B; X=? Y=?.

Math Quiz

Flash cards were pretty good math practice. But, they were always the same math problems, over and over. Lo and behold, JavaScript to the rescue! Just select the difficulty level then click the type of problem you want to practice with, (add, subtract, multiply, and divide) and JavaScript will give you a problem. And, a built-in score checker grades you along the way! Great practice for elementary-aged students just learning their math skills, or for anyone wishing to practice a bit!

Math Related : Credit Card Debt Calculator / The JavaScript Source

This script will calculate how long it will take to pay off credit card debt. It will also calculate the total interest that will be paid over that same period.

Math Related : Hex-to-RGB Conversion / The JavaScript Source

Use this script to convert a hex color string to numeric RGB values of the same color. Great for matching colors. Easy to implement!

Math Related : Improved Fibonacci Sequence / The JavaScript Source

This script displays a Fibonacci sequence up to a certain number of calculations. It uses a lookup array to offset the large, recursive calculations needed to calculate large numbers, and is not too processor intensive. It is precise to 32 bits (78 iterations), after which the JavaScript interpreter rolls bits over.

Math Related : Quartic Equation Solver / The JavaScript Source

This script can solve quartic equations in the form of ax^4 + bx+3 + cx^2 + dx + e = 0.

Matrix

(Internet Explorer Only) Simulate the Matrix by choosing one of the links. The window closes after the whole string is printed. Incredible!

Matts Encrypter

This script will encrypt any text including HTML into an almost impossable-to-crack binary sequence.

Max Entry

Make sure your visitor doesn't exceed the maximum number of characters that you want to accept in a form. Short too!

Maze

Navigate around a 3D JavaScript maze in search of the exit in the fewest moves possible. The maze is complex, but you can cheat by taking a peak at the map. Tested in IE5 and Netscape.

Maze Builder

Just enter the number of rows and columns you want and JavaScript will instantly build you a maze. Each one it builds is different, too. Simply print it out and have fun! You just have to choose the starting point yourself, however. Amazing!

Melt Down

This script uses the sequencer for a stretched melt down effect. You can easily configure all the effects of the code.

Memory Cells

Need to save values from a text field off to the side to free up a form for another calculation? This JavaScript lets you do just that!

Memory by Markus

This is a memory game with nice cat pictures. You can choose between 10 speed levels (0=slowest 9=fastest). The highscore will be saved as a cookie or in a file on webserver (PHP Script).

Menu Branding

Keeps logo (or text) in the bottom right corner of the browser window as they scroll the page up and down. The logo glides very smoothly when the page is scrolled and looks great. When their cursor is on the logo, a menu appears in its place offering links to different sections of the site. The menu returns to the logo a few seconds after the move the cursor off the menu. Neat!

Menu Builder

A fabulous script donated to us from our freinds at www.webreference.com. It allows you to build different types of menus for your pages.

Menu Scroll

Use this amazing layers script to actually 'scroll' a series of menu items onto your page. Wow!

Menu Sliding Image

(Internet Explorer Only) Provides a navigation menu with a moving image behind the menu!

Menu Swapper

A clever way to move selected items from one list box to another using "

Message Blinker

The script blinks any message. It features configurable speed, pause, size, background. Cross-browser: NS4+, NS6+, IE4+, Mozilla and Opera 7+.

Message Format

Use this script to construct messages displayed for end users. The function takes a set of objects, formats them, then inserts the formatted strings into the pattern at the appropriate places.

Meta Tag Maker

To get higher on search engines, you're going to have to use Meta Tags. If you don't know how to write them for yourself, use this JavaScript! Just enter the information about your site and it'll spit out the Meta Tags that you need to put on your pages (in the HEAD tags).

Metric BMI Calculator

Use this script to calculate your BMI (Body Mass Index). Measurements are computed using the metric system. A perfect addition for a health Web site.

Metrology

Use JavaScript to find metrology equivalents.

Midi Menu

Select a song from the pulldown menu and it becomes the background music on the page.

Miles Per Gallon2

Do you think of fuel consumption in miles per gallon, but have to buy your fuel in liters? This script will figure your miles per gallon for you. Enter miles traveled and liters used and the conversion is done for you. (Imperial gallons are used, not US gallons.) IE only.

Miles per Gallon

Computes the miles per gallon of your car via the miles traveled and the number of gallons used. Also, if you enter the cost per gallon and how many miles you drive a day, it will estimate your monthly and yearly gas expenses.

Mind Reader

(Internet Explorer Only) Think of a number between 1 and 63 and answer YES or NO to the questions. The Mind Reader will tell you the number. Amazing!

Minesweeper

Don't have Windows Minesweeper game on your computer at work or school? Think again! Play this JavaScript-powered version which acts just like the Windows version and even supports custom-sized grids. And use Control+Click to flag a mine. Sweet!

Minesweeper Clone

Another clone where you locate hidden mines on a grid by making guesses about where they are located and using clues provided by the computer. Place flags by holding the shift button while clicking on a tile. Win the game by flagging all the bombs, and uncovering the remaining tiles.

Minimum Font Size

Many users have their default font size set very low in their browsers. If you are using relative font sizes on your Web site, this script will resize those user's fonts to something more appropriate.

Miscellaneous: Trigonometry Ratios

These are trigonomic ratios for angles up to 360 degrees. Useful not only for the ratios, but for beginner scripters as well. Highly configurable.

Modify Variable

Removes a character from a variable's value in a string. For example, if you tell it that number equals "0.09876" and to remove the period, afterwords number equals "009876" Neat!

Money Filter

Removes the dollar sign ($) and commas (,) from a a text box. Useful if you require input of only numbers. You may also modify the script to filter out whatever characters you want.

Month Page

If you maintain separate pages for each month, this script can redirect the user to the correct page automatically! The script determines the current month and sends them to the correct page. Neat!

Monthly Calendar with Reoccurring Events

Features include one time, weekly, monthly, and annual events. Monthly navigation uses links or a dropdown list. Easy to customize using CSS. Can be integrated with a server-side language to retrieve events from a database.

Mouse Bomb

A bomb follows your mouse cursor around the screen and explodes when it reaches your cursor. Cool.

Mouse Bubbles

Bubbles float up from mouse giving the effect that the mouse is under water. The bubbles even expand in Internet Explorer.

Mouse Coordinates

Capture mouse X - Y positions with this easy script. Works much like our Mouse Tracker script, but much simpler! Compatible in Internet Explorer and Netscape versions 4+. Great!

Mouse Coordinates 2

This script can display the mouse's X and Y coordinates in the status window.

Mouse Direction

Changes the cursor arrow to point in the direction of mouse movement. Internet Explorer only.

Mouse Fireworks

(JavaScript 1.2) With each click of the mouse a flurry of fireworks explodes from that spot on the page. You may also use your own images if you want. Great!

Mouse Invaders

Three UFOs chase your mouse cursor around the screen. If they get close enough, they even fire at it. Hilarious!

Mouse Orbit

A series of dots orbit the mouse cursor on the page, giving the appearance of a comet effect. Awesome!

Mouse Tracker

An ingenious little JavaScript to track the movement of the user's mouse and the location of mouse "events" (click, double-click, etc.) Works in both Netscape and Internet Explorer!

Mouse Trail Clock

Just a neat little trick, a display of date/time around the mouse pointer

Mouseover BG Selector

Put your mouse over the text, write in a color (words or hex), and the background changes. Pretty neat!

Move Dual List

Add and Remove functionalities to transfer selected or all the content from a source list to a destination list. Sorting list engine included.

Move It!

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

Move Window

Move the browser window by simply clicking the buttons on the page. Neat!

Move Window 2

Move the browser window simply by using the arrow keys! Cool! IE only (Frames not supported)

Mr. Push Me

Let JavaScript introduce you to the increasingly popular Mr. Push Me! Mr. Push doesn't mind the occassional push, but watch out if you over do it!

Multi-Date Picker

This script allows you to simply pick dates by clicking the date of the dynamic calendar. Users can cancel their selection by re- clicking the date you have selected. The dates you picked will show on the textarea beside the calendar.

Multi-Dimensional Array Searching

Use this prototype function to search through a multi-dimensional array. Simple yet efficient! Includes examples.

Multi-Site Search

Add Web search capabilities to your site! This drop-down list uses several search engines. IE and NS6+

Multi-Value Drop Down List 2 / The JavaScript Source

This script provides a selection in a dropdown menu, determined by the user's previous selection. Easy to implement and customize. Could be used with other dynamic languages, such as JSP or ASP. The arrays could be created by information fetched from a database.

Multi-Value Drop-Down List

Using a drop-down menu, this script will provide different values, depending on the user's selection. Easily added to any form.

MultiColMenu

This menu provides several layers of links. It can also be displayed vertically or horizontally. Very compact and clean, yet quite effective.

Multilinks

Sometimes you want a single hyperlink to lead to several pages and present a dynamic menu when clicked. This is usually done through an intermediary page. This script will provide a dynamic menu by creating an absolutely-positioned DIV tag on the fly, which will contain the list of links.

Multiple Choice Quiz

Add a quiz to your Web page without using a server-side script. Easy to set-up. Questions and answers are stored in a multi-dimensional array format in an external file. The quiz is marked in real time, and once answered, questions are set to read-only. A summary of the users score is alerted at the end.

Multiple Mailer

JavaScript can help you send an e-mail to anyone on your "list". Just use the pulldown menu to select a recipient, compose your message, and hit 'Send Message' to send it. This too, is another good JavaScript example for all beginners to learn from.

Multiple Message Scroller

This scroller supports both text and images. Size and speed are adjustable. It works with multiple messages and allows for hyperlinks to distinct URLs. Cool!

Multiple Search Engine

Over 70 popular and unusual internet search engines in a drop down box. Great little tool to add to a site to help your community grow.

Multiple Users

Rather not have one password for access the Members-Only section of your site? Well, along comes this little JavaScript gem. You can set up a separate username and password for as many members as you want, and even give each a different page to go to after logging in!

Multiple Users Prompt

Rather not have one password for access the Members-Only section of your site? Well, along comes this little JavaScript gem. You can set up a separate username and password for as many members as you want, and even give each a different page to go to after logging in!

Multiple onLoad

Use this snippet in an external file to call several functions using the onLoad event handler.

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.

Multipule Linked Radio Buttons

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

Must Visit From....

If other sites links directly the sub-pages of your site or if previous required pages are being skipped, you can now require your visitors to come from a certain page! Those that did not come from the required page are alerted then send back to the required previous page. Clever!

Must Visit Sponsor

Requires the visitor to click your sponsor's banner or link before being able to enter your site. After clicking the banner or link text, the advertiser's page will open in a new window, and your web page loads in the original window, which is behind the ad window.

Mystery Madlib

Here is another of those wonderful madlibs. This time, however, you have no idea of what the topic is! It's always funnier that way! Check it out!

mailTo

Prevent e-mail link harvesting by spammer's robots. Nothing is displayed in the file where this script is used, other than an empty span element. The mailto link is added dynamically, and will not show up even when you "View Source".

math

The DevEdge Archive, a strategic alliance formed by America Online and Sun Microsystems, Inc., is delivering iPlanet e-commerce software and enterprise solutions that enable companies to compete successfully in the Net Economy

mouse comet

This script creates the effect of a comet following the mouse around the browser window. Cool!

myRainbowSpan

This script creates a rainbow of color in your text. Very appealing when used sparingly. Heavily commented.