blackcell Posted May 30, 2008 Share Posted May 30, 2008 Hello, I have a program that will allow users to drop a php file in a directory and if the naming condition is right it will create a tab and the href to that tab is the file. It works but I am doing it through iframes and the iframes src attribute. I want to make it so the targeted page will never have scroll bars. WIth iframes I have to set a static height. Link to comment https://forums.phpfreaks.com/topic/108029-solved-css-frame-target/ Share on other sites More sharing options...
jcombs_31 Posted May 30, 2008 Share Posted May 30, 2008 iframe { height: xx.px overflow: hidden; } The problem is that you will not see the data if it is larger than your height. Link to comment https://forums.phpfreaks.com/topic/108029-solved-css-frame-target/#findComment-553733 Share on other sites More sharing options...
blackcell Posted May 30, 2008 Author Share Posted May 30, 2008 Is there a way around this css or conventional html? I have wondered if there is a way to determine the length of a page before it is loaded to set the size. I don't know I think it is going to take javascript. Edit: If 100% for height would work on like it does for width this would be solved. Link to comment https://forums.phpfreaks.com/topic/108029-solved-css-frame-target/#findComment-553748 Share on other sites More sharing options...
jcombs_31 Posted May 30, 2008 Share Posted May 30, 2008 The iframe itself will load before the src file loads into it, so I don't see how that could work. I'm sure you can do it with some javascript, but why so set on no scrollbars? Link to comment https://forums.phpfreaks.com/topic/108029-solved-css-frame-target/#findComment-553912 Share on other sites More sharing options...
blackcell Posted June 3, 2008 Author Share Posted June 3, 2008 I found a javascript to take care of it. I built a framework type of page that you can drop 'module' files into. You basically drop a file that is structurally named and it will set a tab on the main program, and load that src target into the frame below. It will be too confusing for the people I am making it for to have to deal with two sets of scroll bars. SO basically I wanted the iframe scroll bars to be the only ones. Link to comment https://forums.phpfreaks.com/topic/108029-solved-css-frame-target/#findComment-556572 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.