SitePoint Sponsor |
|
User Tag List
Results 1 to 3 of 3
-
Aug 1, 2006, 08:25 #1
- Join Date
- Aug 2006
- Posts
- 13
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
display page in iframe without scroller
Hi everyone, I met one problem about IFRAME:
I need to use this phrase: <IFRAME name="frmain" src="home.php" width="100%" height="XXX" scrolling="no" frameborder="0"></IFRAME>
It is required there should not be any scroller in the frame border. But I do not know the height of the page in advance. How can I get the height of the page in frame and put it after 'height=' attribute. Is there anyone who know how to solve this problem? Thanks a lot.
PS, I once tried to use javascript or php, but I did not figure it out.
Thanks
-
Aug 1, 2006, 12:45 #2
- Join Date
- Aug 2004
- Location
- Manchester UK
- Posts
- 13,807
- Mentioned
- 158 Post(s)
- Tagged
- 3 Thread(s)
Probably your only solution would be javascript if you want a variable height.
What have you tried in the past that didn't work?
Welcome to the forums btw!
Cheers
SpikeMike Swiffin - Community Team Advisor
Only a woman can read between the lines of a one word answer.....
-
Aug 2, 2006, 18:55 #3
I think it very hard, unless you know how many content in your "home.php" page.
Bookmarks