|
Free JavaScripts and HTML code
[ Stay informed: click here to bookmark this page ]
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.
This week's feature JavaScript:
Pregnancy Calculator
Determine the due date, calculate the likely conception date, trimesters, and a lot more... |
Animation
Calculators
[A small one-off fee required if you want to use the calculators on your websites]
Health/medical calculators
- Body Mass Index. Given weight and height, calculates the BMI (body mass index)...
... and don't blame JavaScript if you happen to be overweight!
- Due Date Calculator. Determine the likely due date of your baby.
- Ovulation Calculator. Find out when your ovulation date and fertile days are, and increase the likelihood of getting pregnant.
- Pregnancy Calculator. Determine the due date, calculate the likely conception date, trimesters, and a lot more...
Loan calculators
- Rent versus Buy Calculator. This calculator helps you to compare the costs of renting to the costs of buying a home.
- Renter Mortgage Affordability Calculator. This calculator estimates the size of a mortgage you could afford based on the size of your monthly rent payment, the downpayment you could afford, and on the anticipated property taxes and homeowner's insurance.
- Loan Comparison Calculator. This calculator works out the monthly payment and interest costs for up to four loans -- all on one screen -- for comparison purposes.
- Loan Payment Calculator with Amortization Schedule. This calculator will compute a loan's payment amount at various payment intervals -- based on the principal amount borrowed, the length of the loan and the annual interest rate.
- Debt Ratio Calculator. Use this calculator to determine your debt to income ratio. Generally speaking, a debt ratio greater than or equal to 40% indicates you are not a good risk for lending money to.
- Debt Payoff Goal Calculator. This calculator computes how much you will need to pay each month in order to pay off a given debt by a selected payoff-goal date.
- Debt Consolidation Calculator. This calculator shows you how consolidating your all of your debts into one lower interest loan can reduce your monthly payments.
Mortgage calculators
Personal finance calculators
- Cash Flow Calculator. This calculator was designed to convert all inflows and outflows into their monthly equivalents making it easier to see how much you can really afford to spend during any given month. And because your household is just as much a business as any traditional business, the various sections of the calculator have been set up in the same way most businesses would set up their cash flow worksheet.
- College Funding Calculator. This calculator helps you to determine how much money you need to invest on a monthly basis now, in order to be able to pay for your child's college education by the time they are ready to start college.
- Retirement Savings Calculator. Use this calculator to compute how much you would need to have invested in order to withdraw a specified amount each month over the course of a specified period of time.
- Savings Goal Calculator. Use this calculator to figure how much your current savings will grow and how much more you'll need to save each month in order to achieve a given savings goal within a given number of years.
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.
- Prefer playing games to making them? You're not alone, we love playing games too. See free online games for 1,500 games in 10 categories. Or, if you'd like to raise the stakes and make it more interesting with a dollar-two, first get some Blackjack tips.
You can find some quality online poker games and reviews at
PokerBonusRoll.com such as
PokerStars Marketing Code and this
PKR
Bonus Code.
Play Free Casino Games - Try playing free online casino games which include free flash powered blackjack, several video slots games, roulette and more at Online Casino Topic a quality gaming portal online.
There are few games where skill is as important as Texas hold’em poker; the biggest difference to a strategy game such as chess is the luck factor. But there’s no coincident that you find the same players at the World Series of Poker final tables year after year.
Visit SlotsLogic.com, a great resource for information about slots and casino reviews.
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!
|