Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Dec 2006
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Exclamation Script Needed Asap!

    Hi,
    I need a script similar to the one found on www.internetmilliondollars.com
    If you scroll down you will see an estimated earnings calculaot, containing age, country, hours available.
    I need a similar code like this, can anyone help and I will sort you out

    Email me at gavin@easy-home-income.com
    And we can talk!

    Thanks, Gav.

  • #2
    Supreme Master coder! Philip M's Avatar
    Join Date
    Jun 2002
    Location
    London, England
    Posts
    17,730
    Thanks
    202
    Thanked 2,507 Times in 2,485 Posts
    Do please have a look at the posting guidelines. We are not some sort of public service here to provide you with oven-ready scripts, especially "Asap". And both the sites mentioned sound like "get rich quick" scams - yuck!

    "There are generally two types of people- ones that simply dump their entire page or problem and expect everyone to spend hours solving everything for them, and those that do their own homework first, and only ask very specific, manageable questions. The later invariably gets more and better responses from others. When you're lazy, do not expect us to be hardworking for you."
    Last edited by Philip M; 12-20-2006 at 05:34 PM.

  • #3
    Regular Coder
    Join Date
    Jun 2002
    Location
    Flint, Michigan, USA
    Posts
    617
    Thanks
    1
    Thanked 20 Times in 20 Posts
    Exact duplication of their code or even the look-and-feel would be illegal, so the following is a bit different. Tweak it to fit your needs. If "sort you out" means some sort of payment, send Pepsi.
    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    
    <html lang="en-US">
      <head>
    
        <title>Earnings Calculator</title>
    
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <meta http-equiv="Content-Script-Type" content="text/javascript" />
        <meta http-equiv="Content-Style-Type" content="text/css" />
        <meta http-equiv="Content-Language" content="en-US" />
        <meta name="Author" content="James Alarie - jalarie@umich.edu" />
        
        <link rel="icon" href="favicon.ico" />
        <link rev="made" href="mailto:jalarie@umich.edu" />
            
    <!--
        Author:    James Alarie
        Company:   University of Michigan - Flint
        Address:   Murchie Science Building - 207D
                   303 E Kearsley St
                   Flint  MI  48502
                   United States of America
        Telephone: +1-810-762-3394x21
        Fax:       +1-810-762-3687
        Web Site:  http://spruce.flint.umich.edu/~jalarie/
        E-Mail:    jalarie@umich.edu
        Comments:  Having said that, I've probably told you more than I know.
    -->
    
        <link href="style1.css" rel="stylesheet" type="text/css" />
        
        <script type="text/javascript">
          <!-- Hide this code from non-JavaScript browsers
            DpH=620;                                    // dollars per hour
            function CalcIt() {
              if (document.getElementById) {
                D=document.getElementById('Daily');
                W=document.getElementById('Weekly');
                M=document.getElementById('Monthly');
                Y=document.getElementById('Yearly');
                H=document.forms[0].WHours.value;
                
                DV=DpH*H/7;
                WV=DpH*H;
                MV=DpH*H*30/7;
                YV=DpH*H*365/7;
                
                DV=DV.toFixed(2);
                WV=WV.toFixed(2);
                MV=MV.toFixed(2);
                YV=YV.toFixed(2);
                
                D.innerHTML=DV;
                W.innerHTML=WV;
                M.innerHTML=MV;
                Y.innerHTML=YV;
              }
            } // CalcIt
          // End hiding -->
        </script>
    
      </head>
    
      <body background="jaa_bgnd.jpg" bgcolor="#ffffee" text="black"
          link="blue" vlink="#800088" alink="red">
    <!-- Page Header -->
        <div class="header">
          <div class="center"><h1>Earnings Calculator</h1></div>
          <hr />
        </div>
    
    <!-- Content -->
        <div class="content">
          <br />
          <noscript>
            <font color="red">
              You must have javascript to make use of this page.
            </font>
          </noscript>
          
          <div class="center">
            <form method="post" action="">
              Your age:&nbsp; 
              <select>
                <option>Under 20</option>
                <option>21-40</option>
                <option>41-60</option>
                <option>Over 60</option>
              </select>
              <br />
              Your gender:&nbsp; 
              <select>
                <option>Female</option>
                <option>Male</option>
              </select>
              <br />
              Your country:&nbsp; 
              <select>
                <option>U.S.A.</option>
                <option>Canada</option>
              </select>
              <br />
              Weekly hours:&nbsp; 
              <input type="text" name="WHours" id="WHours" />
              <br />
              <input type="button" value="Calculate" onclick="CalcIt();" />
              <br />
              Daily:&nbsp; 
              <span name="Daily" id="Daily">???</span>
              <br />
              Weekly:&nbsp; 
              <span name="Weekly" id="Weekly">???</span>
              <br />
              Monthly:&nbsp; 
              <span name="Monthly" id="Monthly">???</span>
              <br />
              Yearly:&nbsp; 
              <span name="Yearly" id="Yearly">???</span>
            </form>
          </div>
      
        </div>
      
    <!-- Page Footer -->
        <div class="footer">
          <br clear="all" /><hr />
          Written on December 21, 2006, by:&nbsp;
          <a href="mailto:jalarie@umich.edu">James Alarie</a>
        </div>
    
      </body>
    
    </html>


  •  

    Posting Permissions

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