Author Topic: Venturi formula  (Read 14876 times)

Offline Tony

  • Administrator
  • Oil baron
  • *******
  • Posts: 5114
  • Fo' shizzle, biodizzle
    • Southampton Waste Oil Collection
  • Location: Southampton
Re: Venturi formula
« Reply #45 on: September 10, 2012, 06:21:13 PM »
I think I've got that right but can't see on my laptop screen as it's so tiny!

Offline Julian

  • Administrator
  • Oil baron
  • *******
  • Posts: 6390
    • Used Cooking Oil Collection website
  • Location: East Surrey, UK.
Re: Venturi formula
« Reply #46 on: September 10, 2012, 06:41:20 PM »
No, got it wrong! graphics are now positioned under the input and result boxes.

It'll be the naughty step soon!
Used Cooking Oil Collection website ... http://www.surreyusedcookingoilcollection.palmergroup.co.uk

Offline Tony

  • Administrator
  • Oil baron
  • *******
  • Posts: 5114
  • Fo' shizzle, biodizzle
    • Southampton Waste Oil Collection
  • Location: Southampton
Re: Venturi formula
« Reply #47 on: September 10, 2012, 06:59:17 PM »
Allright, got it on the left, what thinketh you?

Offline Julian

  • Administrator
  • Oil baron
  • *******
  • Posts: 6390
    • Used Cooking Oil Collection website
  • Location: East Surrey, UK.
Re: Venturi formula
« Reply #48 on: September 10, 2012, 07:42:06 PM »
Honestly?

Wellllllll ... Ummmm ... errrrrrr ... it's like this ... I ... errrr .... don't want to put a damper on things ... but ... errrrrrr  .... if the truth be known ... and not beating about the bush .... and I really don't want to fall out over this .... but ...

Pants!

Try sticking the graphics over to the far right and the calc on the left with normal spacing ... keeps it step with all the other calculators.

Just one additional point ... if you click on the "Tools" button in the menu, you get a blank page.

Used Cooking Oil Collection website ... http://www.surreyusedcookingoilcollection.palmergroup.co.uk

Offline Tony

  • Administrator
  • Oil baron
  • *******
  • Posts: 5114
  • Fo' shizzle, biodizzle
    • Southampton Waste Oil Collection
  • Location: Southampton
Re: Venturi formula
« Reply #49 on: September 10, 2012, 10:01:40 PM »
Yar, I thought you might say that, primary because it does indeed look pants. I'll see what I can do with it tomorrow.

This evening has been spent getting two heavy drums of Meth out of the car, vacuuming it and cleaning WVO stains off, then noticing the nail protruding from the flat rear tyre and swapping tyres.  Darned cars.

Offline Tony

  • Administrator
  • Oil baron
  • *******
  • Posts: 5114
  • Fo' shizzle, biodizzle
    • Southampton Waste Oil Collection
  • Location: Southampton
Re: Venturi formula
« Reply #50 on: September 11, 2012, 09:02:41 AM »
Well I think that's the limit of my html skills right there, I think we'd need someone that could do css to improve on that.

Having a page for the tools menu directly is something I can do however.

Offline Julian

  • Administrator
  • Oil baron
  • *******
  • Posts: 6390
    • Used Cooking Oil Collection website
  • Location: East Surrey, UK.
Re: Venturi formula
« Reply #51 on: September 11, 2012, 10:01:18 AM »
Looks much better.  I'm not an expert by any means, but the graphics and fields look to be in a table.  Is it possible to justify the graphics cells to the right and normalise the fields cells for spacing?

This seems to work, graphics wise, having dumped the html into a very old copy of FrontPage ...

===============================

<p>Calculate cone dimensions for fitting cone to drum.</p>
        <form action name="ConeCalc">
          <fieldset>
            <legend>Parameters</legend>
            <table frame="void" cellspacing="5" width="1031">
              <tr>
                <td width="233">Drum diameter (D)</td>
                <td width="206"><input id="drumDiameter" value="572" onchange="CalcConeResults()" type="text" size="20">
                  mm</td>
                <td rowspan="4" align="right" width="556"><img src="http://www.biopowered.co.uk/w/images/5/5e/Cone_diagram_1.png"></td>
              </tr>
              <tr>
                <td width="233">Desired cone height (H)</td>
                <td width="206"><input id="coneHeight" value="Enable javascript" onchange="CalcConeAngle()" type="text" size="20">
                  mm</td>
              </tr>
              <tr>
                <td width="233">Desired cone angle from horizontal (a)</td>
                <td width="206"><input id="coneAngle" value="30" onchange="CalcConeHeight()" type="text" size="20">
                  degrees</td>
              </tr>
              <tr>
                <td width="233">Port fitting diameter (FD)</td>
                <td width="206"><input id="fittingDiameter" value="22" onchange="CalcConeResults()" type="text" size="20">
                  mm</td>
              </tr>
            </table>
          </fieldset><fieldset>
            <legend>Results</legend>
            <table frame="void" cellspacing="5" width="1031">
              <tr>
                <td width="230">Cone flat radius (R)</td>
                <td width="203"><input id="coneLength" value="Enable javascript" readonly="readonly" onclick="document.ConeCalc.setstring.focus();document.ConeCalc.setstring.select();" type="text" size="20">
                  mm</td>
                <td rowspan="6" width="562" align="right"><img src="http://www.biopowered.co.uk/w/images/e/ec/Cone_diagram_2.png"></td>
              </tr>
              <tr>
                <td width="230">Cone flat diameter</td>
                <td width="203"><input id="coneDiameter" value="Enable javascript" readonly="readonly" onclick="document.ConeCalc.setstring.focus();document.ConeCalc.setstring.select();" type="text" size="20">
                  mm</td>
              </tr>
              <tr>
                <td width="230">Fitting cutout radius (FR)</td>
                <td width="203"><input id="cutoutFittingRadius" value="----" readonly="readonly" onclick="document.ConeCalc.setstring.focus();document.ConeCalc.setstring.select();" type="text" size="20">
                  mm</td>
              </tr>
              <tr>
                <td width="230">Cutout angle (b)</td>
                <td width="203"><input id="cutoutAngle" value="Enable javascript" readonly="readonly" onclick="document.ConeCalc.setstring.focus();document.ConeCalc.setstring.select();" type="text" size="20">
                  degrees</td>
              </tr>
              <tr>
                <td width="230">Cutout chord (C)</td>
                <td width="203"><input id="cutoutChord" value="Enable javascript" readonly="readonly" onclick="document.ConeCalc.setstring.focus();document.ConeCalc.setstring.select();" type="text" size="20">
                  mm</td>
              </tr>
              <tr>
                <td width="230">Cone volume</td>
                <td width="203"><input id="coneVol" value="Enable javascript" readonly="readonly" onclick="document.ConeCalc.setstring.focus();document.ConeCalc.setstring.select();" type="text" size="20">
                  litres</td>
              </tr>
            </table>
          </fieldset>
        </form>
        <p>&nbsp;</p>
      </div>
    </div>

====================================

All I did was make the graphics cells 100% in size and justified right.  The others I made specific widths to suit.  Not sure about the vertical spacing of the fields.  Would they all need to go into one cell to get round the spacing issue?

Don't know if any f that helps?
Used Cooking Oil Collection website ... http://www.surreyusedcookingoilcollection.palmergroup.co.uk

Offline Tony

  • Administrator
  • Oil baron
  • *******
  • Posts: 5114
  • Fo' shizzle, biodizzle
    • Southampton Waste Oil Collection
  • Location: Southampton
Re: Venturi formula
« Reply #52 on: September 11, 2012, 10:29:50 AM »
Thanks Julian, I've taken that code, tweaked the values to nice round numbers and made it a little thinner - it's looking good!

Offline Julian

  • Administrator
  • Oil baron
  • *******
  • Posts: 6390
    • Used Cooking Oil Collection website
  • Location: East Surrey, UK.
Re: Venturi formula
« Reply #53 on: September 11, 2012, 11:08:52 AM »
Looking good.
Used Cooking Oil Collection website ... http://www.surreyusedcookingoilcollection.palmergroup.co.uk

Offline Tony

  • Administrator
  • Oil baron
  • *******
  • Posts: 5114
  • Fo' shizzle, biodizzle
    • Southampton Waste Oil Collection
  • Location: Southampton
Re: Venturi formula
« Reply #54 on: September 12, 2012, 09:50:34 AM »
jamesrl has taken a peer at it too just to verify that it all stacks up and he was most impressed with it.

Offline Julian

  • Administrator
  • Oil baron
  • *******
  • Posts: 6390
    • Used Cooking Oil Collection website
  • Location: East Surrey, UK.
Re: Venturi formula
« Reply #55 on: September 12, 2012, 10:05:45 AM »
And rightly so!  Think you've done a cracking job.
Used Cooking Oil Collection website ... http://www.surreyusedcookingoilcollection.palmergroup.co.uk

Offline Tony

  • Administrator
  • Oil baron
  • *******
  • Posts: 5114
  • Fo' shizzle, biodizzle
    • Southampton Waste Oil Collection
  • Location: Southampton
Re: Venturi formula
« Reply #56 on: September 12, 2012, 10:08:05 AM »
Err - team effort!

Offline Julian

  • Administrator
  • Oil baron
  • *******
  • Posts: 6390
    • Used Cooking Oil Collection website
  • Location: East Surrey, UK.
Re: Venturi formula
« Reply #57 on: September 12, 2012, 10:32:45 AM »
Appart from the brain power which went into each bit!
« Last Edit: September 12, 2012, 11:28:59 AM by Julian »
Used Cooking Oil Collection website ... http://www.surreyusedcookingoilcollection.palmergroup.co.uk

Offline Tony

  • Administrator
  • Oil baron
  • *******
  • Posts: 5114
  • Fo' shizzle, biodizzle
    • Southampton Waste Oil Collection
  • Location: Southampton
Re: Venturi formula
« Reply #58 on: September 13, 2012, 01:06:13 PM »
Just one additional point ... if you click on the "Tools" button in the menu, you get a blank page.

Not any more - I've been refreshing my php coding skills and now it auto-generates a page linking to all the tools. :)