Results 1 to 2 of 2

Thread: Need Help...

  1. #1
    Join Date
    Sep 2007
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Need Help...

    I'm looking for a calculator, or well, estimator script, but I can't find any...

    I need a calculator to estimate the number of items needed based on the dimensions of a room

    Actually the equation would be:

    Lenght x Width x 1.1 /2.7

    But I can't find something like that anywhere....help?

  2. #2
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    Code:
    <form onSubmit="return false;">
    <script type="text/javascript>
    var width = 0;
    var height = 0;
    function calc() {
    document.getElementByID['n'].value = width*height;
    }
    </script>
    Width: <input type="text" name="w" value="0" onchange="width=this.value; calc();"><br>
    Height: <input type="text" name="h" value="0" onchange="height=this.value; calc();"><br>
    Needed: <input type="text" disabled id="n" value="0">
    </form>
    Something like this, but it's probably not going to fit your design right away.
    Daniel - Freelance Web Design | <?php?> | <html>| espa˝ol | Deutsch | italiano | portuguŕs | catalÓ | un peu de franšais | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •