11-10-2022, 07:58 PM
(11-10-2022, 07:37 PM)Pete Wrote: using iframe is a fun way to run other sites or projects at a page on your website, but for anyone who isn't already using this feature, and most don't, I highly recommend you look into the impact it will have on your Page ranking (SEO stuff). Pros and cons. If ranking isn't important to you, just do it. It's pretty cool. If ranking is very important to you, look into some SEO articles, first.
To Vince's point, use of iframe on your site requires some vigilance. Also pick a trusted source as unlike links, with iframes the activity opens directly on your site when the page loads. Take for example when QB64 dot net wasn't renewed, and another party bought the domain name. We got a warning from Rob the new site owner was using the site collect personal data. So if I had an iframe set to display what used to be trusted material from that site, oops, possibly now I'm just an accomplice to passing on some sort of malicious activity. Let me just say all this would be very rare, but the point is, it's possible.
Personally I like the display iframe can bring to a page. It is very much like embedding a video. No need to keep traveling from site to site, and no different than knowing a video can be edited or changed out without your immediate knowledge.
Pete
That is a rocking clarification. I wasn't thinking about iframe to show stuff from third party sites.
I use iframe's in my sites to show stuff I've created. (Well, I do embed some YouTube and Google Calendar etc.)
That's what I'd do with programs exported from either BAM or QBJS. iframe 'em.
Total aside: when you are in BAM and you run a program, what you are seeing is an iframe to which BAM injects the program, the interpreter, and the HTML structure. So the HTML is dynamically generated at runtime. Javascript is not allowed to run in BAM proper.