Jump to content

[SOLVED] CSS Frame Target


blackcell

Recommended Posts

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

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.

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.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.