Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Community Forums
 Community Discussions (All other subjects)
 HTML help needed = iframes
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

wii
Free ASP Hosts Moderator

Denmark
2632 Posts

Posted - 12 January 2004 :  07:37:25  Show Profile
When using iframes to load a page within a page, I always get a white box before the page within the iframe is loaded. Is there a way to avoid the white box, and/or are there alternatives to iframes?

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 12 January 2004 :  07:42:46  Show Profile  Visit HuwR's Homepage
what would you expect to get ? that is how http/browsers work, you would get exactly the same behaviour in a standard browser window, just depends how long the page takes to load and whether it is buffered or not.
Go to Top of Page

taropatch
Average Member

USA
741 Posts

Posted - 12 January 2004 :  10:16:28  Show Profile
I use an iframe on my homepage but was intrigued by this:

http://www.youngpup.net/?request=/components/ypSimpleScroll.xml

I haven't tried it yet, though.

Edited by - taropatch on 12 January 2004 10:25:54
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 12 January 2004 :  10:36:42  Show Profile  Visit HuwR's Homepage
an iframe is a full browser window embeded in your page, not just a scroll box
Go to Top of Page

wii
Free ASP Hosts Moderator

Denmark
2632 Posts

Posted - 12 January 2004 :  13:13:04  Show Profile
Is it possible to make the iframe an option for people? So that when they click on a "hide chat" link the iframe is removed? I have this code for it:

<iframe src="chat/chat.asp" name="chat2" frameborder="0" scrolling="no" width="90" height="20"></iframe>
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 12 January 2004 :  14:00:09  Show Profile  Visit HuwR's Homepage
yes, you can use its style.visibility property to show and hide it
Go to Top of Page

wii
Free ASP Hosts Moderator

Denmark
2632 Posts

Posted - 12 January 2004 :  14:18:34  Show Profile
Ok, how exactly do I code this?
Go to Top of Page

wii
Free ASP Hosts Moderator

Denmark
2632 Posts

Posted - 12 January 2004 :  14:39:00  Show Profile
Problem solved ! I added this tag to the iframe:

ALLOWTRANSPARENCY="true"
Go to Top of Page

redbrad0
Advanced Member

USA
3725 Posts

Posted - 16 January 2004 :  12:01:21  Show Profile  Visit redbrad0's Homepage  Send redbrad0 an AOL message
wii, im using iframes also on a current project and with the..

ALLOWTRANSPARENCY="true"

that makes it so the background color is shown until the page loads?

Brad
Oklahoma City Online Entertainment Guide
Oklahoma Event Tickets
Go to Top of Page

redbrad0
Advanced Member

USA
3725 Posts

Posted - 16 January 2004 :  16:24:47  Show Profile  Visit redbrad0's Homepage  Send redbrad0 an AOL message
What about text under the IFRAME to say the page is loading?

Brad
Oklahoma City Online Entertainment Guide
Oklahoma Event Tickets
Go to Top of Page

redbrad0
Advanced Member

USA
3725 Posts

Posted - 16 January 2004 :  18:32:54  Show Profile  Visit redbrad0's Homepage  Send redbrad0 an AOL message
I found out you can use DIV to center and image under the iframe

Lesson on IFrame
http://hotwired.lycos.com/webmonkey/96/37/index2a.html?tw=authoring

Brad
Oklahoma City Online Entertainment Guide
Oklahoma Event Tickets
Go to Top of Page

wii
Free ASP Hosts Moderator

Denmark
2632 Posts

Posted - 21 January 2004 :  04:54:34  Show Profile
Yeah, but since the frame I´m loading in the iFrame has the same bgcolor, you can´t see it, so it really is invisible and without a white box.

quote:
Originally posted by redbrad0

wii, im using iframes also on a current project and with the..

ALLOWTRANSPARENCY="true"

that makes it so the background color is shown until the page loads?

Go to Top of Page

snaayk
Senior Member

USA
1061 Posts

Posted - 21 January 2004 :  10:48:32  Show Profile  Visit snaayk's Homepage  Send snaayk an AOL message  Send snaayk an ICQ Message  Send snaayk a Yahoo! Message
quote:
Originally posted by taropatch

I use an iframe on my homepage but was intrigued by this:

http://www.youngpup.net/?request=/components/ypSimpleScroll.xml

I haven't tried it yet, though.



That's actually a bunch of DIVS that get sized using javascript using a number of functions. The data is loaded from an XML file into an iframe (as a buffer) then sent to the div.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.36 seconds. Powered By: Snitz Forums 2000 Version 3.4.07