Focus on Microsoft Technologies - Tutorials, Articles, Code Samples.

Thursday, August 24, 2006

Counters and Calculators using Javascript

4-digit Chmod calculator
A beefed up version of the original chmod calculator that includes an extra "SuperUser" column. There's no stopping you from correctly setting permission on your files now!

Bandwidth calculator
Confused about the various units used to calculate bandwidth, and their equivalent in another unit? Use this bandwidth calculator to instantly figure it out!

Basic calculator
Your basic calculator. Nothing fancy.

Body mass calculator
This calculator calculates your body mass based on the inputted weight and height, plus gives you a word or two on your health!

Calorie Calculator
A calculator that calculates how many calaries you've burned based on the information entered.

Chmod calculator
The chmod calculator is the script to have handy when setting permissions on your cgi files via FTP. 755 anyone?

cm-inch-feet converter
Take the headache out of figuring out how many inches 176 cm is, or feet 30 inches is, with this extremely handy conversion script!

Counter script
This is a fake- yet highly believable- JavaScript counter script. The script DOES actually increment the visitor count, though it does so based on a fixed algorithm involving the current date, not the actual number of visitors. Use it to add a fun, inflatable, and most importantly, believable counter display to your site!

Data Sorter
This is a script we created which primary use is actually not on a webpage, but on your hard drive. It's a data sorter that sorts data entered into a text box either into alphabetical or numerical order. We all need to sort data every once in a while, and this is the perfect program to help you do it!

Decimal-to-binary converter
Looking back at when I was in college, there were many occasions when I had to convert decimal to binary numbers (especially on  assignments). If only I had the following script! It's a decimal-binary converter that, well, converts decimal numbers to binary instead! Simply enter into a text box the number in decimal form, and out comes it's twisted clone!!

Dog Years Calculator
Dogs have a much shorter life span than us humans, so proportionally speaking, every year we live is many in terms of dog years. Used the below fun calculator to find out how old dog years wise you currently are!

Earth Population calculator
This amusing script estimates the population of the world at this moment, in real time. Archived using a series of mathematical algorithms, it comes pretty close to the actual numbers!

GPA calculator
Calculates the person's GPA

Graphical Calculator
A cool JavaScript calculator with a graphical interface! Sure looks better than most JavaScript calculators out there.

JavaScript dice simulator
This is a fun JavaScript dice...use it when the real thing's not close by!

JavaScript Graph-it!
Create graphs out of raw data using Graph It! Just input the textual data, and leave the rest to the script.

Jeroen's chmod calculator
Jeroen's Chmod calculator is the most robust calculator of its kind. It allows you to lookup and display the permission setting value (ie: 755) for files in 3 different ways, including its text equivalent (ie: -rwxr-xr-x).

Length Converter
Use this practical script to easily convert between the 7 most popular length units- centimeters, meters, kilometers, miles, inches, feet and yards. Simply enter a number, and let the script display the desired equivalents. Cool!

Loan Calculator
A JavaScript calculator that calculates your monthly loan payment.

MPS to MPH converter
This script makes it easy to calculate how fast something goes "miles per hour", by allowing you to enter its speed using the more manageable "meters per second."

New European currency calculator
This is an absolutely fabulous european currency calculator that calculates the money value of european countries currency in terms of the new European currency. Very cool!

Numbers Converter
This flexible script allows you to easily convert between any numbering system, such as from binary to hex, decimal to binary etc.

Percentage Calculator
Quickly, what's 10% of your lunch tab? How about what percentage of 255 68 is? Use this versatile percentage calculator to ensure you have the answers 100% of the time!

Quadratic calculator
Solve quadratic equations with ease using this Math script!

Required Download Time Calculator
We all download things off the net (even if just occasionally). The following script is for all of us, then! It caculates the time required to download a file, depending on your net connection. Quite handy, actually.

Roman Numerals Converter
An interesting script for converting between integers and Roman Numerals, as well as checking the validity of Roman Numerals for common mistakes.

Round number to x decimals
A useful utility that rounds any number to the specified decimal place. This is needed because JavaScript doesn't have any built-in methods for the task.

Scientific calculator
A slightly more "advanced" JavaScript calculator.

Temperature Converter
A very handy script that instantly coverts between the major temperature units Fahrenheit, Celsius, and Kelvin.

The Exact Age Finder
Use this script to find out precisely how old you are, in various units!

Ultimate age calculator
This is your ultimate age calculator script! Use it to display the age of any person or past event, in a variety of units. Can be invoked multiple times on the same page to calculate/display multiple ages.

"What day of the week was I born?" script
You may know what year and the exact date you were born...but let me ask you this question: "What day of the week was that?" This script tells you that!

World Population counter
This script estimates the current population of the world using only math and displays the results live. The result is very close to official estimates!

Post a Comment