Thread starter
#1

My web skills are not upto that, I can program micro controllers in C etc, but web stuff isnt something i have done much of.

- Thread starter Professor_fish
- Start date

Thread starter
#1

My web skills are not upto that, I can program micro controllers in C etc, but web stuff isnt something i have done much of.

I could add calculators, if you have the code. I already have an aquarium volume calculator.

Thread starter
#3

I have the formulas, not the code......I guess i could have a shot at java for it and pass you that.

I have the formulas, not the code......I guess i could have a shot at java for it and pass you that.

Send me a basic one and I can look into the feasibility of doing it in my spare time.

I could try doing one. I could base it off of my existing volume calculator.

I have added a special category for calculators right under the fishkeeping category.

Don't you think that is a bit premature?

Don't you think that is a bit premature?

And that was fine where it was for now.

I had been planning to separate it for a while.

Alrighty then.

Thread starter
#13

Looking at some of the code (java isnt my thing), the actual calculations are the same on most sites (as you would expect).

From that you could do your own style, then all i need to do is supply you the maths for the various calculations.

Here is the code for that:

Code:

```
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script type="text/javascript">
var result = 0;
var roundLength = 2;
function computeGallons()
{
result = Math.round((document.frmMain.TankLength.value * document.frmMain.TankWidth.value * document.frmMain.TankHeight.value / 231)*100)/100;
document.frmMain.USGallons.value = Math.round(result*100)/100;
}
</script>
<form name="frmMain"><span class="b">Aquarium Calculator: Calculate Rectangle Fish Tank Volume in Gallons Based on Tank Size</span><p>
Fish Tank Length in Inches:<br />
<input type="text" name="TankLength" onkeyup="computeGallons()"><br />
<br />
Fish Tank Width in Inches:<br />
<input type="text" name="TankWidth" onkeyup="computeGallons()"><br />
<br />
Fish Tank Height in Inches:<br />
<input type="text" name="TankHeight" onkeyup="computeGallons()"><br />
<br />
Aquarium Size is<br />
<input type="text" name="USGallons" style="border: none; background: #D8EFFF; padding: 12px; width: 10em; font-size: 18px;" readonly> US Gallons<br />
<br />
</form>
```

Thread starter
#15

I don't want to copy stuff of of other people's websites. Couldn't I get sued?

Thread starter
#17

If you did a calculator for working out the diameter of a circle, how many formula are there for doing it? My point being all calculators online will use the same base code (because the formula has to be the same,like say for the volume of a cube), all you do it not copy the style. So make the boxs a different space from each-other or position and color, it also means you can keep a site style for all calculators.

@Professor_fish give me the formulas and I will see if I can write a script.

Thread starter
#20

So i am rewriting some of the formulas, they will be longer but in terms of 'maths' easier to code.

Thread starter
#22

Ok i will do, i know wish i hadnt used so many built in excel functions!! l0l

What formulas are they going to calculate?

Any update on the calculators @Professor_fish?

Any update @Professor_fish?

Thread starter
#27

My questions don't take a lot of time to answer....