Reply
problems with height in iframe
Old 06-28-2007, 02:10 PM problems with height in iframe
Experienced Talker

Posts: 44
Name: Lars
Hey there,

I was wondering why I can set width to 100% and it fills out the screen, but when I set height to 100% it fills out the screen in my WYSIWYG, but not in fx the IE?!

Code:
<iframe src="chooser.html" name="surfdownload" width="100%" marginwidth="0" height="100%" marginheight="0" scrolling="Auto" frameborder="0"></iframe>
Anyone who got a solution. Maybe something else than iframe?

Link to the problem; http://www.tinycut.net/testraw/surfdownload.php
__________________


Webmaster of: http://www.tinycut.net
macastaire is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 06-29-2007, 02:04 AM Re: problems with height in iframe
Extreme Talker

Posts: 235
Location: United States
Quote:
Originally Posted by macastaire View Post
Hey there,

I was wondering why I can set width to 100% and it fills out the screen, but when I set height to 100% it fills out the screen in my WYSIWYG, but not in fx the IE?!

Code:
<iframe src="chooser.html" name="surfdownload" width="100%" marginwidth="0" height="100%" marginheight="0" scrolling="Auto" frameborder="0"></iframe>
Anyone who got a solution. Maybe something else than iframe?

Link to the problem; http://www.tinycut.net/testraw/surfdownload.php
I'm not sure if an iframe in this case is the best solution, but you can change the height of the iframe using JavaScript. On the onload and onresize events, change the height of the iframe based on the size of the window.
frost is offline
Reply With Quote
View Public Profile
 
Old 06-29-2007, 03:31 AM Re: problems with height in iframe
Experienced Talker

Posts: 44
Name: Lars
that could be a possibility... but what else solution do you think I should use, besides of iframing that crap.
__________________


Webmaster of: http://www.tinycut.net
macastaire is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to problems with height in iframe
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.12988 seconds with 12 queries