Closed

Javascript / HTML application using open source code

This project was awarded to littlehoi for $60 USD.

Get free quotes for a project like this
Employer working
Awarded to:
Skills Required
Project Budget
$30 - $250 USD
Total Bids
9
Project Description

I am looking for someone to provide a basic template for a program that uses open source code.

I use a product from a third party provider that allows open source code. This third party allows users to upload and use their own templates. These templates will change the results that is displayed to the user. This template will run on a handheld/PDA device.

The data to manipulate is returned in only 5 fields. The basic template is shown below:
<html><script>/*

This sample uses a minimum of HTML markup

*/</script>

<fonttag/>
<pre>
<dataentry/>
Result 1: $<lista/>
Result 2: $<used/> (<usedq/>)
Result 3: $<new/> (<newq/>)
Result 4: $<col/> (<colq/>)
Result 5: <rank/>
</pre></html>


Of these five fields, I am only needing this script to use 2 fields to calculate a "final result" field.

The script should take the <rank> and <used> fields and evaluate them based upon criteria similar to what is shown below:

If <used> is less than [url removed, login to view] then the "result field" will display a text message.

If <used> is greater than [url removed, login to view] and the <rank> is less than 50,000 then the "result field" will show a numerical result of <used> multiplied by 25%.

Assuming the <used> is greater than [url removed, login to view], the "result field" will be calculated using the following factors:
0-50,000 - 25.0%
50,001-100,000 - 22.5%
100,001-400,000 - 20.0%
400,001-600,000 - 17.5%
700,001-1,000,000 - 15%
1,000,001 - 1,500,000 - 10%
Greater than 1,500,001 - Return lesser of 5% or flat result of $[url removed, login to view]
No Rank - Return text message rather than calculated result

I would also like to manipulate the text so that it is enlarged and centered. I would also like to use some font colors that change depending on the result. It would also be nice to add a sound notification for certain results. I can provide sample script that does all of the above, I just do not have the ability to put them together.

I think this should be a very quick and easy project for someone who is familiar with the javascript and HTML.

Please let me know if you have questions.







Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online