Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Getting iFrame tag to work in netscape 4.x

Getting iFrame tag to work in netscape 4.x
Thread Tools
C33
Dedicated MacNNer
Join Date: May 2001
Location: DC
Status: Offline
Reply With Quote
Mar 20, 2002, 02:13 PM
 
i was originally trying to call in a frameset by using SSI but it wouldn't work; using SSI to bring in an iFrame page did work and my problems were solved until a coworker pointed out that iFrame doesn't work in netscape.

has anyone figured out how to get the iframe tag to work with this browser or is it just an impossibility?
     
Grizzled Veteran
Join Date: Jun 2001
Location: Melbourne, Australia
Status: Offline
Reply With Quote
Mar 20, 2002, 02:58 PM
 
Originally posted by C33:
<STRONG>i was originally trying to call in a frameset by using SSI but it wouldn't work; using SSI to bring in an iFrame page did work and my problems were solved until a coworker pointed out that iFrame doesn't work in netscape.

has anyone figured out how to get the iframe tag to work with this browser or is it just an impossibility?</STRONG>
It IS impossible with NS 3 and 4, but NS 6 and higher support it. Some browsers like OmniWeb dont support it fully yet. But iFrames are a W3C standard, so you're quite right to utilise it.

What you can do is simulate an iFrame by inserting a &lt;LAYER&gt; within an existing &lt;LAYER&gt; tag. This way, each browser will only interpret the code it understands. Eg:

&lt;iframe src="news.html" width="100" height="50"&gt;&lt;layer src="news.html" width="100" height="50"&gt;Your browser does not support iFrames&lt;/layer&gt;&lt;/iframe&gt;

Unfortunately, if the page that loads into the frame has anchors, following that link will target the _parent, rather than the layer. You may be able to override this, but from my brief test I found it a bit wanting.

Still, this may be enough for you. You have a lot of control over whether scrollbars appear, borders, etc. See

Netscape Developers Site for more info.
Computer thez nohhh...
     
C33  (op)
Dedicated MacNNer
Join Date: May 2001
Location: DC
Status: Offline
Reply With Quote
Mar 20, 2002, 04:37 PM
 
thanks for the feedback. i'll also try experimenting with Netscapes ilayer tag and see how that works .
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 06:01 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2