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 > What are iFrames?

What are iFrames?
Thread Tools
Mac Elite
Join Date: Oct 1999
Location: Walnut Creek, California
Status: Offline
Reply With Quote
Oct 15, 2002, 11:16 AM
 
So I use OmniWeb for the first time and I go to my favorite comicbook site (http:www.savagedragon.com) and in the frame where the news is normally posted there is a message that my browser doesn't support iFrame! What are they, and when will OW support them?

Also, if I wanted to put iFrames on my own site, how would I got about doing this? Thanx.

"Sing it again, rookie beyach."
My website
     
ism
Grizzled Veteran
Join Date: Sep 2001
Status: Offline
Reply With Quote
Oct 15, 2002, 12:42 PM
 
Well I'm assuming you are fimilar with frames? An iFrame is just an inline frame. That is, it's a method of including another HTML page within a current page. They are most obvious when they appear as a scrollable area of text. Sometimes you won't even know that they are there, for instance the new design of www.wired.com uses them to include advertisments within the page.

For more detailed information see www.w3.org/TR/html4/present/frames.html#h-16.5

To include in your page you would use the syntax:


<iframesrc="foo.html">
[Text to appear if frames aren't supported] </iframe>



You can specify height and width attributes for the inline frame and also determine whether it is scrollable.

You can also use the object tag to include a document within another. However there is less browser support for this.

The best way to include another html document is to use a server side scripting language.

No idea about Omniwebs support, I would recommend using Chimera.
(Last edited by ism; Oct 15, 2002 at 01:00 PM. )
     
Miniryu  (op)
Mac Elite
Join Date: Oct 1999
Location: Walnut Creek, California
Status: Offline
Reply With Quote
Oct 16, 2002, 03:46 AM
 
Thanx
This is exactly what I needed to know. I prefer to spell it iFrames rather than iframes, cuz that way it looks like it has something to do with Apple.

Look for iFrames in my webpage soon..

www.liquidswift.tk

"Sing it again, rookie beyach."
My website
     
   
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 01:55 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