What are some alternatives to inline frames in HTML?

  • Thread starter Thread starter red_johniii
  • Start date Start date
R

red_johniii

Guest
I designed a webpage that contains an inline frame. The content changes based upon links that users click on the parent page. This method falls short, though, because I need the height of the inline frame to increase or decrease based on the page that is loaded into it. I saw the Javascript hacks, but... well... they're hacks... and I'm too much of a perfectionist for that. Is there anything else I can use to replace the iFrame which 1) can be targeted using hyperlinks on the parent page and 2) will dynamically adjust its height to fit the contained page?
 
the most common alternatives are either using css or php, just google iframe alternative and choose aa link to match your preferred variation...
 
the most common alternatives are either using css or php, just google iframe alternative and choose aa link to match your preferred variation...
 
The only time an inline frame is appropriate is when loading data from a remote site into your own page. Therefore if you are using iframes for navigation - that is the hack.

The contemporary technique to accomplish this is obviously ajax.
Dynamically calling data from your server layer and then replacing the content div with the results.
 
Back
Top