Printable Version of Topic

Click here to view this topic in its original format

HTMLHelp Forums _ Web Site Functionality _ BMI calculator created on webpage, how to isolate in inframe?

Posted by: DEADSTAR Jul 2 2017, 07:16 PM

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

Posted by: pandy Jul 3 2017, 08:37 AM

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.

Posted by: DEADSTAR Jul 3 2017, 04:36 PM

Thanks for the link, I'll check it out and yes it does.

Posted by: DEADSTAR Jul 3 2017, 06:17 PM

I figured something out, not exactly correct but it will work for me.
www.agapehealthandwellnessservices.com

Posted by: pandy Jul 3 2017, 09: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.

Posted by: DEADSTAR Jul 20 2017, 05:41 PM

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.

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)