iframe autoresizing challenge!

liunx

Guest
Ok, hi everyone. I'm Giorgos grom Greece, this is my first posting here and I am gonna be as quick as I can with my questions so I won't take up a lot of your precious time. I am developing a web site for a real estate agency. (<!-- m --><a class="postlink" href="http://www.sci-design.gr/world/frontoffice/search.php">http://www.sci-design.gr/world/frontoffice/search.php</a><!-- m -->)In order to keep my left and top navigation objects there all the time(flash objects), I use an iframe on the right to load individual html or better php documents into that particular frame. All seems to work fine but I have a quite important problem when for instance you click the submit button, let's say and then try to click on the Code:18 link. The page that is being displayed doesn't adopt to the actual height of the document (<!-- m --><a class="postlink" href="http://www.sci-design.gr/world/frontoffice/inside_frame.php">http://www.sci-design.gr/world/frontoff ... _frame.php</a><!-- m -->)even though I have defined both the iframe's and the table that contains it to have width and height values of 100%. I tried to play around more with the percentages but no luck till now. <br />
Can anyone have a look and help me, please? If you need more source code let me know...<!--content-->It's the pictures that are on the top of the table causing the problem, like this one:<br />
<!-- m --><a class="postlink" href="http://www.sci-design.gr/world/frontoffice/images/UrbanHeading.gif">http://www.sci-design.gr/world/frontoff ... eading.gif</a><!-- m --><br />
Make a picture slighly smaller or use percentages for all your table widths.<br />
Good Luck,<br />
Paul<!--content-->Yes, but the problem is only visible when this page (<!-- m --><a class="postlink" href="http://www.sci-design.gr/world/frontoffice/inside.php">http://www.sci-design.gr/world/frontoffice/inside.php</a><!-- m -->) is loaded to the iframe, that's when the table refuses to expand. And there is no image like the one you mentioned in that particular layout...Just hit submit and then Code:18 to see what I mean...<!--content-->I'm not sure if I'm looking in the right place but I don't see any IFRAMEs.If you are saying the the page is expanded past an 800x600 res then it's the flash that is causing the problem, you will have to make that smaller.<br />
Good Luck,<br />
Paul<!--content-->Have a look here <!-- m --><a class="postlink" href="http://www.sci-design.gr/world/frontoffice/search.php">http://www.sci-design.gr/world/frontoffice/search.php</a><!-- m --> The scrollbars is the thing I want to avoid...basically I have put the scrollbar value to auto so that you can see the iframe I am talking about. What I am trying to achieve is to get that page loaded with the FULL 100% height without the scrollbars<!--content-->The problem appears when the user has his browser in a small size...It;s working fine with the browser maximised<!--content-->this page<br />
<br />
<!-- m --><a class="postlink" href="http://www.sci-design.gr/world/frontoffice/search.php">http://www.sci-design.gr/world/frontoffice/search.php</a><!-- m --><br />
<br />
<br />
doesn't have one iframe in it. I get scrollbars because my browser is not big enough. all sites are like that.<!--content-->Originally posted by scoutt <br />
this page<br />
<br />
<!-- m --><a class="postlink" href="http://www.sci-design.gr/world/frontoffice/search.php">http://www.sci-design.gr/world/frontoffice/search.php</a><!-- m --><br />
<br />
<br />
doesn't have one iframe in it. I get scrollbars because my browser is not big enough. all sites are like that. <br />
Yay so I'm not crazy. g_mitropapas can you please point out the exact page with the IFRAME. If you are talking about the main window beign too big it's your flash menu.<br />
Good Luck,<br />
Paul<!--content-->Ok, if you go to <!-- m --><a class="postlink" href="http://www.sci-design.gr/world/frontoffice/search.php">http://www.sci-design.gr/world/frontoffice/search.php</a><!-- m --> now and keep the window half the size of the screen, let's say, you should be able to see the two scrollbars on the right, one of the main page and one of the iframe. I was wondering how I could get the contents of the iframe expand so that the whole document will be visible with ONLY the scrollbar of the main page visible. Of course the scrollbar of the iframe is set to "auto" for demonstration purposes. Keep in mind that the contants of the iframe are going to be dynamic...<br />
Thanks again for you effort to help me and sorry for the chaos and confusion, are all part of the game!<!--content-->I see it know, sorry about that. If I understand correctly you don't want that scroll bar there, right? You could do a few things. You can set the height of the IFRAME to be as large as the page. Second you could make the entire page that has the IFRAME in it open in a new maximaized window, you can search this site on how to do that, it's been discussed many times. I wouldn't recommend that though as it would cause a large mess. The best way to do it would to not have that IFRAME there. Is there any reason you need that IFRAME? Making the whole thing with out the IFRAME and just making it part of the page would be the best, in my opinion.<br />
Good Luck,<br />
Paul<!--content-->The only reason I am doing it it's because, the client wants the option tha the user chooses from the top menu to be hilighted and to stay hightlighted. So I wouldn't want to be loading a different document each time, wouldn't look good. But anyway, I manages to do it with normal frames, so no probs on that!<br />
<br />
Thanks again, man!<!--content-->let me ask why the navigation is done in flash? There is no real animation done.... so I can't figure out why its like that. <br />
<br />
You could also just set up the page in tables, and use includes instead of frames to accomplish what youd like (minus scroll bars).<!--content-->What do you mean by "includes"?<!--content-->
 
Back
Top