Free JavaScripts and HTML code
How do you stand out and get noticed among the millions of websites in today's highly competitive world?
With JavaScript, of course! Use JavaScript Editor to effortlessly and in no time add stunning web interfaces and unparalleled functionality to your pages.
Here you will find high-quality ready-to-use solutions. To maintain the quality, we do not allow unmoderated source code postings.
To use the code you can use any editor or even Notepad - we recommend JavaScript Editor as the best tool when you are writing your own code or using other people's. For this reason, you will find that the code is sprinkled with tips for JavaScript Editor users.
Check this out...
This week's feature JavaScript:
Pregnancy Calculator
Determine the due date, calculate the likely conception date, trimesters, and a lot more... |
Animation
Calculators
Health/medical calculators
Loan calculators
Mortgage calculators
Personal finance calculators
Currency conversion calculators
Cookies
- Getting and setting cookies. Illustrates how to set and retrieve cookies. Useful for personalizing the page, tracking visits, running affiliate programs, and storing choices as the visitor moves from one page to another.
Games
- Free Sudoku. Enjoy free sudoku puzzles online, at the difficulty level you prefer.
- Button Mania. The goal is simple - but getting there requires lots of thinking. Great logical game!
- Chess. Yes, here is the entire chess engine written in JavaScript. Pit your wits against the computer...
... and unlike Deep Fritz, this one you can actually beat and feel good about it!
- Aussie pokies
Simple but instructive game
of aussie pokies (slots).
- Interested in making your own JavaScript games? See the article How to create games using JavaScript.
Image
JavaScript and AJAX Libraries
Due to the large numbers of libraries this is now the separate section: visit JavaScript and AJAX Libraries to find all JavaScript and AJAX libraries you need for your website and web application development.
The libraries are ranging from single-purpose scripts and script depositories to entire JavaScript application frameworks - compiled, rated and maintained by JavaScriptDeveloper.com.
Misc
- Converting number to words. Comes handy when you want to display the number both as a numeric value and in words.
- Binary-to-decimal Converter. Converts binary numbers to decimal, and vice versa.
- URL Parser. URLs in the following form:
http://www.MyURL.com/MyPage.htm?user=Simon
are great for passing user choices and additional information from one page to another.
The URL Parser allows you to break down the URL into variable-value pairs.
- Color Table. This gives you a fast way of selecting the right color and obtaining its name or HEX value.
Tip: when you select a color using JavaScript Editor, you can place it into the code either as HEX or RGB.
- Color HEX Generator. This is a complete Color HEX Code Generator - great tool for web design.
- Airport Calculator. Calculates the distance between 2 US airports.
- JavaScript Visitors Counter. Make browsing of your website a more personal experience: show your individual visitors how many times they have visited your site.
Popups
- Build-a-pop. Illustrates how to create a popup browser window with a variety of choices.
- Open 4 windows. Shows you how to open multiple browser windows in one go. This is useful when you want to build your personal page with links allowing you to visit several websites at once.
Be careful if you use popups on your web pages, though: due to misuse, popups
are out of favor these days and routinely blocked on most browsers.
System
- Screen Resolution. Useful if you want the page to display differently, depending on the screen resolution of the visitor.
Text
- Message Rotator. Uses the timer to rotate text messages. Can be used as an alternative to ticker.
- Shadow Text. Uses JavaScript to give you a fast and easy way to decorate your text with outlining and shadowing.
- Text Typer. Types the text on the screen, showing the cursor and allowing you to pause for each message. Great for focusing the reader's attention. Even simulates the carriage return!
|