Welcome to WebmasterWorld Guest from 54.162.141.212

Forum Moderators: incrediBILL

Message Too Old, No Replies

How to make variable height iFrame?

iframe html css ajax

     
6:51 pm on Apr 23, 2009 (gmt 0)

5+ Year Member



How can I create multiple IFRAMES (or frames) on a page that have variable height?

To illustarte the point think of it that I want a page that will have my menus on top, then a page (of indeterminate length) from abc.com and then another page from def.com, and so on...

Please help! Thanks!
--

11:29 am on Apr 30, 2009 (gmt 0)

5+ Year Member



Give each frame a class (or id) and style them individually according to your needs.
Although using frames is a bad idea actually..
5:15 pm on Apr 30, 2009 (gmt 0)

WebmasterWorld Senior Member tedster is a WebmasterWorld Top Contributor of All Time 10+ Year Member



I'd say there can be good uses for an iframe - but do appreciate that the content in an iframe is not indexed as part of your url. So the page you described has no content of its own - just a menu area.
8:17 pm on Apr 30, 2009 (gmt 0)

WebmasterWorld Senior Member 5+ Year Member



if you want the iframe to resize itself to fit the content from another site, then javascript will do the job. plenty of scripts on the web if you google them
8:29 pm on Apr 30, 2009 (gmt 0)

5+ Year Member



Found 'em londrum, thanks! ::)
 

Featured Threads

Hot Threads This Week

Hot Threads This Month