SteamyTea Posted September 3, 2017 Share Posted September 3, 2017 (edited) After the silly mistake I made working out the energy needed to heat some water (it was late and I had just finished work), I got to thinking about how hard would it be to add a few calculators onto this site. I had a quick look around and there seems to me dozens of example about using javascript to process 'stuff'. But to be honest, it is all Greek to me. So two birds could be killed with one stone. Calculators to work out frequently asked questions and an easy to follow tutorial about how they are made and integrated into webpages. What do people think? Edited September 3, 2017 by SteamyTea Link to comment Share on other sites More sharing options...
ToughButterCup Posted September 3, 2017 Share Posted September 3, 2017 It's easy: the technical bit, that is. Precisely what I did for a living for many years. What's hard is maintaining it. The quickest thing to do would be to link to a site (or sites) which hosts the relevant calculators, and then merely maintain the link. @SteamyTea, give us a list of pages which host the kind of resource(s) which you think have some credibility. Link to comment Share on other sites More sharing options...
SteamyTea Posted September 3, 2017 Author Share Posted September 3, 2017 The trouble with external links is that they don't drive traffic here particular, more drive it away. How much maintenance is there really? These would be simple calculators i.e enter volume, power and get out energy and time, maybe an extra to add in kWh price. Link to comment Share on other sites More sharing options...
ToughButterCup Posted September 3, 2017 Share Posted September 3, 2017 Maintenance I can do it. Debbie can maintain it when I'm away. But if we are both off or decide we haven't got the time.... If, as sometimes happens, the bit I of code we write causes a conflict with XYZ browser, or on older spec mobile browsers, that means hours of fiddling, or restricting display of that resource to browsers of XYZ spec, which means browser sniffing and that means talking to @TerryE, and that means time, and we all have houses to build.... Someone else decides they'd like to help and can't unpick my messy code, and so starts again and ..... If BH were a one person operation , no problem. But we are a team, and that offers opportunity as well as constraint. Link to comment Share on other sites More sharing options...
SteamyTea Posted September 3, 2017 Author Share Posted September 3, 2017 Can't you just have a default message to say, "Update your browser dickhead" Is there any non javascript way to do it? I know next to nothing about coding, it is all a bit messy to me. But the arithmetic behind it is simple enough. 2 Link to comment Share on other sites More sharing options...
ragg987 Posted September 3, 2017 Share Posted September 3, 2017 Just a thought, maybe create a spreadsheet (excel format is pretty universal) and people can download and fiddle to their hearts content? Link to comment Share on other sites More sharing options...
SteamyTea Posted September 3, 2017 Author Share Posted September 3, 2017 I initially thought of that, but then it is best to discourage random downloads. I am just playing with a bit of HTML5 output code that seems to 'do sums'. Got the input side sorted, just struggling to get the output showing, probably as simple as a ; instead of a : Link to comment Share on other sites More sharing options...
SteamyTea Posted September 3, 2017 Author Share Posted September 3, 2017 (edited) Well not that hard really, just wish I had better eyesight and I would spot the mistakes. Now let us see if I have managed to load it to 'somewhere' and it works. https://steamytea.wixsite.com/watercalculator Edited September 3, 2017 by SteamyTea Hopefully a working page 1 Link to comment Share on other sites More sharing options...
ragg987 Posted September 5, 2017 Share Posted September 5, 2017 Nice and simple, I like it. Worked on firefox, chrome, edge. Failed on IE (kWh remains blank). Windows 10. Link to comment Share on other sites More sharing options...
PeterW Posted September 5, 2017 Share Posted September 5, 2017 Any chance of adding in the additional functionality a la here..?? http://processheatingservices.com/water-heating-time-calculator/ Really useful to be able to work through the ideas of how long the immersions need to run etc 1 Link to comment Share on other sites More sharing options...
SteamyTea Posted September 5, 2017 Author Share Posted September 5, 2017 (edited) My initial suggestion was that we had a few on-line calculators that would save time by not having to repeat ourselves too often. And have them in an easy to get at place. 3 hours ago, ragg987 said: Failed on IE (kWh remains blank) IE is an old browser. There comes a point where old standards should not be supported. I am not a 'coder' at all, and have little interest in doing it, but know that others are. But one thing I do know is that by keeping things very simple, they tend to be reliable. So adding in too much to one small bit of code can cause problems. Edited September 5, 2017 by SteamyTea Link to comment Share on other sites More sharing options...
Nickfromwales Posted September 5, 2017 Share Posted September 5, 2017 Good endeavour. Thanks @SteamyTea Link to comment Share on other sites More sharing options...
SteamyTea Posted September 5, 2017 Author Share Posted September 5, 2017 Here is a quick 'time to heat' page https://steamytea.wixsite.com/timetoheat Link to comment Share on other sites More sharing options...
Nickfromwales Posted September 5, 2017 Share Posted September 5, 2017 Works on safari / iPhone. . Link to comment Share on other sites More sharing options...
ragg987 Posted September 5, 2017 Share Posted September 5, 2017 1 hour ago, SteamyTea said: IE is an old browser No it is not. IE11 is current and supported and is packaged in supported versions of Windows. It is still used by a significant portion of desktop users. I think this was the point that @recoveringacademic was trying to make in his "Maintenance" post? Link to comment Share on other sites More sharing options...
SteamyTea Posted September 5, 2017 Author Share Posted September 5, 2017 (edited) Was part of the point he was making. But that was about javascript. But I notice here that IE11 is 4th from bottom. https://html5test.com/results/desktop.html Edited September 5, 2017 by SteamyTea Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now