Forum Moderators: open

Message Too Old, No Replies

My Iframe will not go full window, pleae help

         

johnhamman

3:35 pm on Aug 4, 2008 (gmt 0)

10+ Year Member



Hi all,
I hate IFrames, but I am faced with a issue where I have to use one (or an <object> ). So please don't flame me about good coding, because my hands are tied on this one.

Ok so I have this page that on the left hand side I have navigation bar that is 188px wide. On the right of that nav bar I have an iFrame. the problem is getting that iframe to fill the rest of the page width and the expand the complete height of the page. No matter what I do, it doesn't seem to work.
Can someone help me with this or point me in the right direction. If I need to use javascript, thats fine.

tedster

6:06 pm on Aug 4, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



a little bit of experimenting and I can see that there are some issues here. Have you tried a regular frameset page rather than an iframe? Seems like it would be more dependable cross browser, if you need to fill the window anyway.

johnhamman

6:50 pm on Aug 4, 2008 (gmt 0)

10+ Year Member



Thanks for the reply,
Yeh, in fact I started with a regular frame and it works perfect. The problem is that the content on the left (the 188px) needs to be SEO friendly (the iframe content doesn't need to be SEO nor followed since its an external site).
I was just hoping for a better solution than a frame!

Marshall

6:58 pm on Aug 4, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



johnhamman, if you check either the CSS or JavaScript forums, there was a thread some time ago about resizing iframes. Sorry I cannot remember specifically which one.

Marshall

johnhamman

7:01 pm on Aug 4, 2008 (gmt 0)

10+ Year Member



I will search again, thanks for the tip.