Should BYC Have It's Own, Easy To Use Genetic Calculator?

  • Yes, great idea!

    Votes: 194 87.0%
  • No, waste of time...

    Votes: 4 1.8%
  • Yes, and I can offer help!

    Votes: 18 8.1%
  • Yes, but with some adjustments to the original post...

    Votes: 7 3.1%

  • Total voters
    223
Pics
Using microsoft access, as in the database software? I don't know much about access, but I think it's a database type, like MySQL. That's going to be hard to host, I think you need special web hosting for that. I think we should just create a JS script that can be embedded in a page, not something that requires it's own database.
 
Okay, I talked to my dad.
Somehow, he understands this. He says that using Access, it should be relatively minimal.
I'm going to try to work with him to see where I can bring this. From what I understand, it is not that hard to program something like this.
Great to hear...I'm still busy studying the chicken genes and am realizing just how possible this could be...
 
Here is the JS aquarium volume calculator on my site:
https://www.utahfishkeepers.us/volume-calculator/
Here is the code:
Code:
<!-- form.frmMain -->
<form name="frmMain" onsubmit="return computeGallons();">
    <span>Aquarium Calculator: Calculate Rectangle Fish Tank Volume in Gallons Based on Tank Size</span>
    <p>
        <label>Fish Tank Length in Inches:<br/>
            <input type="text" name="TankLength"/>
        </label><br/>
     
        <label>Fish Tank Width in Inches:<br/>
            <input type="text" name="TankWidth"/>
        </label><br/>
     
        <label>Fish Tank Height in Inches:<br/>
            <input type="text" name="TankHeight"/>
        </label><br/>
     
        <input type="submit" value="Calculate"/><br/>
     
        <label>Aquarium Size is:</label><br/>
        <span id="USGallons">US Gallons</span>
    </p>
</form>

<!-- script for the form.frmMain -->
<script type="text/javascript">
    function computeGallons(){
        document.getElementById('USGallons').childNodes[0].nodeValue = (
            document.frmMain.TankLength.value *
            document.frmMain.TankWidth.value *
            document.frmMain.TankHeight.value / 231
        ).toFixed(2) + ' US Gallons';
        return false;
    }
</script>
And it's just embedded in a XenForo page.
 
Using microsoft access, as in the database software? I don't know much about access, but I think it's a database type, like MySQL. That's going to be hard to host, I think you need special web hosting for that. I think we should just create a JS script that can be embedded in a page, not something that requires it's own database.
We'll stick to JS then.

Great to hear...I'm still busy studying the chicken genes and am realizing just how possible this could be...
It is very possible! I am going to start a spreadsheet or something soon with breed genetics.
This way when the coding comes around the genetics for each breed will all be in one place and thus easier to find and input.
 

New posts New threads Active threads

Back
Top Bottom