HTML Tutorial


 Forum HomeForum Home   FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
RegisterRegister - Not registered yet? Got something to say? Join HTML Code Tutorial!
iFrame: Variable Height and White Removal
Post new topic   Reply to topic    HTML Help Forum Index -> HTML Frame
View previous topic :: View next topic  
Author Message
rossbb



Joined: 21 Sep 2007
Posts: 4

PostPosted: Fri Sep 21, 2007 8:13 pm     iFrame: Variable Height and White Removal Reply with quote

I am currently working on a site that needs variable height iframes and I came across a script posted here and It works great in Safari with the exception that it only resizes on load and doesn't adjust to the height of the content as it changes. Is there a way to adjust the script so that it does? It also breaks in Firefox and doesn't display at all in Opera. I probably implemented it wrong and any help would be appreciated.

The site I am working on is a bit of an experiment you can check out the test file here:
http://www.3andband.com/TestSite/iframeScriptTest.html

you can find an alternate version using a different script at:
http://www.3andband.com/TestSite/iframeTest2.html

The flash menu&music player is not functioning yet, but my chief problem is the variable height and the white background!!! of the iframes.

Any help or suggestions would be very appreciated!

Thanks
rossbb



Joined: 21 Sep 2007
Posts: 4

PostPosted: Thu Oct 04, 2007 12:35 am     Still Looking for help Reply with quote

Hey all. I could still really use some help on this one.
sticks464



Joined: 31 Dec 2006
Posts: 2309

PostPosted: Thu Oct 04, 2007 3:34 am     Reply with quote

This may be what your looking for
http://www.dynamicdrive.com/dynamicindex17/iframessi2.htm
The only way I know of to change the background color is to change the background color of the document you are loading. bgcolor and style="background-color:#fff" does not work.
rossbb



Joined: 21 Sep 2007
Posts: 4

PostPosted: Fri Oct 05, 2007 12:16 am     Doesn't quite do it Reply with quote

Thanks for the feedback! Unfortunately, If you take a look at the page in Firefox you'll see why that doesn't work for me. I actually need the iframe to be transparent No background. I need the page to show through it. As for the scaling, the script posted here, once I got it set up, works great in FF and IE. It only has a bug in Safari, where it doesn't scale back down. Feel free to take a look at the page and see if you have any suggestions:

http://www.3andBand.com/TestSite/iframeTest3.html

Thanks again for the feedback!
tiepich



Joined: 15 Oct 2009
Posts: 3

PostPosted: Thu Oct 15, 2009 7:51 am     Re: Doesn't quite do it Reply with quote

rossbb wrote:
Thanks for the feedback! Unfortunately, If you take a look at the page in Firefox you'll see why that doesn't work for me. I actually need the iframe to be transparent No background. I need the page to show through it. As for the scaling, the script posted here, once I got it set up, works great in FF and IE. It only has a bug in Safari, where it doesn't scale back down. Feel free to take a look at the page and see if you have any suggestions:

http://www.3andBand.com/TestSite/iframeTest3.html

Thanks again for the feedback!


try adding: allowtransparency="true"
it is not approved parameter, but works.
sticks464



Joined: 31 Dec 2006
Posts: 2309

PostPosted: Sun Nov 15, 2009 9:19 am     Reply with quote

If anyone is interested, I have a fix for this script that works for;
IE 6, 7, 8
FF 2.0, 3.0, 3.5
Opera 9
Safari 4
Chrome 2

PM me for the fix.
Display posts from previous:   
Post new topic   Reply to topic    HTML Help Forum Index -> HTML Frame All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
HTML Help Archive
Powered by phpBB © 2001, 2005 phpBB Group
HTML Help topic RSS feed 

 
DARFUR
HOSTING / DESIGN
MAKE MONEY

Home
  |   Tutorials   |   Forum   |   Quick List   |   Link Directory   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial