Jump to content

Expanding iframe-type php content box?


Byron

Recommended Posts

I've been working on a site of mine recently, and am having 1 major problem.

 

If you look at http://www.rivalryguild.com/ you'll see that the side links open in an iframe in the middle of the page. Unfortunately, what this creates is a scroll bar in the iframe, and sometimes the entire page too.

 

What I would like to do is make some sort of vertically expanding content box that essentially works like an iframe, but auto-expands to fit the page it's displaying. So if i have a 100px tall page, its 100px, or if I have a 10 page long forum post, it adjusts accordingly. From what little I've heard, this can be done relatively simply in php. The problem being that I've never used php, and have berely touched any sort of CSS or Javascript. Any examples or pokes in the right direction would be great.

 

Right now I don't know where to start, so any help would be appreciated.

Link to comment
https://forums.phpfreaks.com/topic/81293-expanding-iframe-type-php-content-box/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.