Metachecker.net
|
TrafficChecker.net
|
RankChecker.net
Learn Java Script Today
|
Over 5000 Free Fonts
|
Tutorials
|
Javascript Forum
|
Other Javascript Resources
|
Cheat Sheet
JavaScript Basics
Inserting Javascript
Complete Tutorial
Advance DHTML Tutorial
Script archive
Advanced Tutorials
Alert Scripts
Animation
Audio
Background Effects
Banner Ads
Browser Window
Buttons
Button Forms
Calculcators
Calendars
Clocks & Dates
Cookies
Cursor Effects
DHMTL Games
DHTML Miscellaneous
Equivalents
Forms
Games
IE4+ Scripts
IE5+ Scripts
Image Effects
Image Miscellaneous
Links & Buttons
Math Related
Messages Miscellaneous
Miscellaneous
Mouse Tricks
Navigation
Page Details
Password Protection
Pulldown Menus
Random Stuff
Scrolling
Status Bar
Text Animation
User Detail
User Info
Window Control
Group Work
Ever had to work with another person to complete a task? This calculator will tell you how long it would take two people to complete the task if you know how long it would take each person to complete the task individually. Neat!
Person one can do the job in
hours.
Person two can do the same job in
hours.
Together, they can do the job in
hours.
Insert into <HEAD>
<SCRIPT LANGUAGE="JavaScript"> <!-- Original: mistermidget@hotmail.com --> <!-- Begin function groupWork() { person1 = parseInt(document.workform.person1.value); person2 = parseInt(document.workform.person2.value); worktime = (person1*person2)/(person1+person2); document.workform.time.value = worktime; } // End --> </script> </HEAD>
Insert into <BODY>
<center> <form name=workform> Person one can do the job in <input type=text name=person1 size=5> hours.<br> Person two can do the same job in <input type=text name=person2 size=5> hours.<br> Together, they can do the job in <input type=text name=time size=10> hours.<br><br> <input type=button value="Solve!" name=solve onClick="groupWork()"><br> </form> </center>
Other Options