Help - Search - Members - Calendar
Full Version: BMI calculator created on webpage, how to isolate in inframe?
HTMLHelp Forums > Web Authoring > Web Site Functionality
DEADSTAR
Hey all,
I recently purchased a widget from a developer I wouldn't recommend. I had explained that I am running a website on Wix.com and just needed the embed code so I plug it into the site. I had (and still do) an example up on the site of a BMI calculator I had found rummaging online (https://www.agapehealthandwellnessservices.com/), where you can copy the code to use on your site. It uses iframe so I expected the same from the one I purchased. However, all i got was a folder with the html, css, and js. I was able to figure out how to get it up online (since Wix.com does not allow access to the coding I believe) through github.com (http://bmi-calculator.getforge.io/). My question is, is there anyway I can isolate just the BMI calculator within the iframe and not the entire webpage?
Sorry for the long intro. mellow.gif
pandy
See here how to use an iframe.
http://htmlhelp.com/reference/html40/special/iframe.html

Your calculator doesn't work, BTW. If this is yours http://bmi-calculator.getforge.io/ . I got a little confused about what was what.
DEADSTAR
Thanks for the link, I'll check it out and yes it does.
DEADSTAR
I figured something out, not exactly correct but it will work for me.
www.agapehealthandwellnessservices.com
pandy
No, the one you linked to before did nothing in the browser I used. The one you link to now doesn't calculate the BMI if I use metric. The result is what I put as my weight. If I say I weigh 50 kg the result is 50. If I say I weigh 100 the result is 100 and so on.
DEADSTAR
QUOTE(pandy @ Jul 3 2017, 10:31 PM) *

No, the one you linked to before did nothing in the browser I used. The one you link to now doesn't calculate the BMI if I use metric. The result is what I put as my weight. If I say I weigh 50 kg the result is 50. If I say I weigh 100 the result is 100 and so on.



Ah I see, thanks for that.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2017 Invision Power Services, Inc.