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
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.

Link to comment
Share on other sites

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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.