Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Dynamic iframes?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 06-21-2012, 02:44 AM
 
jonwatson87 jonwatson87 is offline
 

Advanced Member
  
Join Date: May 2012
Posts: 32
 

Default 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?
__________________
X-Cart Pro 4.5
Reply With Quote
  #2  
Old 06-21-2012, 05:41 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default 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/
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 06-21-2012, 12:34 PM
  cherie's Avatar 
cherie cherie is offline
 

X-Wizard
  
Join Date: May 2003
Location: USA
Posts: 1,534
 

Default Re: Dynamic iframes?

Frames are out but not iframes.
__________________
redlimeweb.com
custom mods and design integration
4.7 linux
Reply With Quote
  #4  
Old 06-21-2012, 11:19 PM
 
jonwatson87 jonwatson87 is offline
 

Advanced Member
  
Join Date: May 2012
Posts: 32
 

Default 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?
__________________
X-Cart Pro 4.5
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 09:51 AM.

   

 
X-Cart forums © 2001-2020