menu iframe height percent
How do set the height of an Iframe using percent in a new menu. I tried using something like 80% but it didn't work very well. If I set it to something like just 1000 it looks pretty. I assume that defaults to pixels.
The reason we used the iframe option is because we are deploying existing content that's deployed on the same web server as the dev shell but that is in different directories. Using relative urls seems to work pretty well.
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- PHPDevShell Edit question
- Assignee:
- No assignee Edit question
- Last query:
- 2012-08-30
- Last reply:
- 2012-10-07
TitanKing (titan-phpdevshell) said : | #1 |
Unfortunately you cant, this is a browser/javascript limitation that wont allow you to get the height of an external domain.
Bill Gosse (bill-gosse) said : | #2 |
Actually all the resources are under the same domain.
TitanKing (titan-phpdevshell) said : | #3 |
Why are you executing local content under an iFrame an not Ajax then? One should in general avoid iFrames like the plague.
tad (bittiez) said : | #4 |
I don't know if you've solved this yet but if it's in the same domain why not use a include() instead of iFrame?
Can you help with this problem?
Provide an answer of your own, or ask Bill Gosse for more information if necessary.