• Welcome to ScubaBoard

  1. Welcome to ScubaBoard, the world's largest scuba diving community. Registration is not required to read the forums, but we encourage you to join. Joining has its benefits and enables you to participate in the discussions.

    Benefits of registering include

    • Ability to post and comment on topics and discussions.
    • A Free photo gallery to share your dive photos with the world.
    • You can make this box go away

    Joining is quick and easy. Login or Register now by clicking on the button

Auto Unit Conversion

Discussion in 'Suggestions' started by Griffo, Jul 1, 2019.

  1. Griffo

    Griffo DIR Practitioner

    # of Dives: 200 - 499
    Location: Sydney, Australia
    I've seen on other forums where some key words in posts automatically are given a hover-over popup with some alternate text.
    I was wondering if it might be possible to code some basic unit conversions covering
    • Depth - 50 ft or 50ft would have a hover-over showing 15m (and visa versa)
    • Pressure - PSI to Bar and the reverse showing Bar etc
    It sure would make it much easier for people to read article. For someone who grew up metric converting dozens of different measurements mentally gets tiring.

    I'm sure the scope could be widened later if it got traction for other units, but those two would cover the vast majority of posts and have a pretty simple regex match.
    dfx likes this.

Share This Page