X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Dynamic iframes? (https://forum.x-cart.com/showthread.php?t=64035)

jonwatson87 06-21-2012 02:44 AM

Dynamic iframes?
 
Does anyone know if there's a relatively simple way of making iframe height dynamic based on the source, without needing scrolling enabled?

At the moment I've just set the height to "3000"

<iframe frameborder="0" height="3000" name="Make ME Blog" scrolling="no" src="http://makemecrafts.blogspot.com" width="900"></iframe>

But it'd be much easier if it adjusted itself depending on what it was showing.

I've heard that a better way to do this is via PHP, using sub-pages, but wouldn't know where to start.

Are iframes a bit too antiquated for this sort of function?

balinor 06-21-2012 05:41 AM

Re: Dynamic iframes?
 
Iframes really shouldn't be used at all anymore, especially if you want SEO credit for the content. If you are looking to show blog content on your site, try using a feed tool like FeedBurner or http://simplepie.org/

cherie 06-21-2012 12:34 PM

Re: Dynamic iframes?
 
Frames are out but not iframes.

jonwatson87 06-21-2012 11:19 PM

Re: Dynamic iframes?
 
Thanks balinor, I'll definitely look into that, if I can't get the page to come across verbatim. I'd like to try and keep the layout/formatting etc, if possible.

Does anyone know of any other methods for doing this?


All times are GMT -8. The time now is 10:21 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.