473,748 Members | 2,437 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

what is iFrames ?

I'm reading a lot of talks lately about the term iFrame and with your
permission would like to ask a few question about that :

- what is iFrame, i mean what is it good for ?
- does all the popular browsers support it (mostly mozilla & the much
hated IE, google says the do but nothing is better that experienced answer)
- iFrames replaces the old frames once used in html to show a number of
pages in a single windows, right ?
- what are common uses of iFrames ?
- mostly importantly does php support iFrames & if so how?, will i need
to use PEAR for that ?

i thank you for your comments, maxim.
Jul 17 '05 #1
10 3934
answers below
"maxim vexler <hq4ever (at) 012 (dot) net (dot) il> >" <"maxim vexler
<hq4ever (at) 012 (dot) net (dot) il> a écrit dans le message de
news:41******** @news.012.net.i l...
I'm reading a lot of talks lately about the term iFrame and with your
permission would like to ask a few question about that :

- what is iFrame, i mean what is it good for ? Frames split your windows in multiple parts.
Let says you want an left side menu, with frames your menu will be in one
page from where you will call all others pages of your site - does all the popular browsers support it (mostly mozilla & the much
hated IE, google says the do but nothing is better that experienced answer)
YES - iFrames replaces the old frames once used in html to show a number of
pages in a single windows, right ? YES kind of - what are common uses of iFrames ? Same as frames - mostly importantly does php support iFrames & if so how? yes, in fact this not a php issue, php just return html code
, will i need to use PEAR for that ? NO i thank you for your comments, maxim.

no prob, but go on an html forum for more info on frames and iframes
VooDoo
Jul 17 '05 #2
"maxim vexler <hq4ever (at) 012 (dot) net (dot) il>" <"maxim
vexler <hq4ever (at) 012 (dot) net (dot) il>"> emerged reluctantly
from the curtain and staggered drunkenly up to the mic. In a
cracked and slurred voice he muttered:
- what is iFrame, i mean what is it good for ?
It's an inline frame. Useful for providing frames that are embedded
in a regular page.
- does all the popular browsers support it (mostly mozilla & the
much hated IE, google says the do but nothing is better that
experienced answer) -
Everything upwards of Netscape4/IE4 will support them. Unless
you're visually impaired of course.
iFrames replaces the old frames once used
in html to show a number of pages in a single windows, right ?
Wrong.
- what are common uses of iFrames ?
"Preview Windows", such as you may find when posting on a message
board.
- mostly importantly does php support iFrames & if so how?, will
i need to use PEAR for that ?


Iframes are HTML and have nothing to do with PHP.

--
Phil Roberts | Deedle Doot Doo Dee Dee | http://www.flatnet.net/

I could be wrong here, You could be right
Please forgive me I have sinned - Not on your life
But that's how you want me, But I'll never fear thee
Why you and not me? Tell me Holy Man
Jul 17 '05 #3
"maxim vexler <hq4ever (at) 012 (dot) net (dot) il>" wrote
in message news:<41******* *@news.012.net. il>...

I'm reading a lot of talks lately about the term iFrame and with your
permission would like to ask a few question about that :

- what is iFrame, i mean what is it good for ?
The IFRAME element allows authors to insert a frame within a block
of text. Inserting an inline frame within a section of text is much
like inserting an object via the OBJECT element: they both allow you
to insert an HTML document in the middle of another, they may both
be aligned with surrounding text, etc.

http://www.w3.org/TR/html4/present/frames.html#h-16.5
- does all the popular browsers support it (mostly mozilla & the much
hated IE, google says the do but nothing is better that experienced
answer)
If a browser claims compatibility with HTML 4.0, it should be able to
render iframes.
- iFrames replaces the old frames once used in html to show a number of
pages in a single windows, right ?
Not exactly. "Old frames" remain alive and well.
- what are common uses of iFrames ?
Fitting relatively large blocks of content into relatively small
(and fixed) space on a page. For example, you may want to put
news headings into a fixed-size iframe on your home page.
Example:

<IFRAME src="news.php" width="400" height="200"
scrolling="auto "></IFRAME>

This will define a 400 by 200 iframe, which will display the
output of news.php and a scroll bar, if that output would not
fit into the 400 by 200 area.
- mostly importantly does php support iFrames & if so how?,


There is no need for PHP to "support iFrames"; PHP is not a browser.

Cheers,
NC
Jul 17 '05 #4
Nikolai Chuvakhin wrote:
"maxim vexler <hq4ever (at) 012 (dot) net (dot) il>" wrote
in message news:<41******* *@news.012.net. il>...
I'm reading a lot of talks lately about the term iFrame and with your
permission would like to ask a few question about that :

- what is iFrame, i mean what is it good for ?

The IFRAME element allows authors to insert a frame within a block
of text. Inserting an inline frame within a section of text is much
like inserting an object via the OBJECT element: they both allow you
to insert an HTML document in the middle of another, they may both
be aligned with surrounding text, etc.

http://www.w3.org/TR/html4/present/frames.html#h-16.5

- does all the popular browsers support it (mostly mozilla & the much
hated IE, google says the do but nothing is better that experienced
answer)

If a browser claims compatibility with HTML 4.0, it should be able to
render iframes.

- iFrames replaces the old frames once used in html to show a number of
pages in a single windows, right ?

Not exactly. "Old frames" remain alive and well.

- what are common uses of iFrames ?

Fitting relatively large blocks of content into relatively small
(and fixed) space on a page. For example, you may want to put
news headings into a fixed-size iframe on your home page.
Example:

<IFRAME src="news.php" width="400" height="200"
scrolling="auto "></IFRAME>

This will define a 400 by 200 iframe, which will display the
output of news.php and a scroll bar, if that output would not
fit into the 400 by 200 area.

- mostly importantly does php support iFrames & if so how?,

There is no need for PHP to "support iFrames"; PHP is not a browser.

Cheers,
NC


now i see, thank you.

"does php support iFrames" yyeee right, hahaha how off topic can one be.
Jul 17 '05 #5
I noticed that Message-ID: <41********@new s.012.net.il> from maxim
vexler <hq4ever (at) 012 (dot) net (dot) il> contained the following:
- what is iFrame, i mean what is it good for ?


<starr>Absolute ly nuthin, say it again, y'all!</starr>

--
Geoff Berrow (put thecat out to email)
It's only Usenet, no one dies.
My opinions, not the committee's, mine.
Simple RFDs http://www.ckdog.co.uk/rfdmaker/
Jul 17 '05 #6
Geoff Berrow wrote:
I noticed that Message-ID: <41********@new s.012.net.il> from maxim
vexler <hq4ever (at) 012 (dot) net (dot) il> contained the following:

- what is iFrame, i mean what is it good for ?

<starr>Absolute ly nuthin, say it again, y'all!</starr>


why ?
Jul 17 '05 #7
I noticed that Message-ID: <41******@news. 012.net.il> from maxim vexler
<hq4ever (at) 012 (dot) net (dot) il> contained the following:
- what is iFrame, i mean what is it good for ?

<starr>Absolute ly nuthin, say it again, y'all!</starr>


why ?


No reason, it just popped into my head. :-)

--
Geoff Berrow (put thecat out to email)
It's only Usenet, no one dies.
My opinions, not the committee's, mine.
Simple RFDs http://www.ckdog.co.uk/rfdmaker/
Jul 17 '05 #8
It IS useful, as mentioned a news page oder something like that.
Imagine, you designed a small template 500 pixels height and 500
pixels width and want to display it in a popup window, without
scrollbars.. Then you can use an iFrame to display the news and have
the scrollbar directly next to the news...
Another possibility: you only have html and not php oder don't want to
use it, then you can use an iframe to include a html oder php-site..
professional developers don't use iframes much, but when a
web-beginner comes to me, i often suggest to use that. another
example: They are very happy, when they signed up for a free (ad
sponsord :[ ) guestbook, but they have to open it in a new window...
Ok, with iframes they can create a page and put that geustbook
"inline" with an iFrame (inline-frame)...
Greetings, Michael.

"maxim vexler <hq4ever (at) 012 (dot) net (dot) il>" <"maxim vexler <hq4ever (at) 012 (dot) net (dot) il>"> wrote in message news:<41******@ news.012.net.il >...
Geoff Berrow wrote:
I noticed that Message-ID: <41********@new s.012.net.il> from maxim
vexler <hq4ever (at) 012 (dot) net (dot) il> contained the following:

- what is iFrame, i mean what is it good for ?

<starr>Absolute ly nuthin, say it again, y'all!</starr>


why ?

Jul 17 '05 #9

"maxim vexler <hq4ever (at) 012 (dot) net (dot) il> >" <"maxim vexler
<hq4ever (at) 012 (dot) net (dot) il> wrote in message
news:41******** @news.012.net.i l...
- iFrames replaces the old frames once used in html to show a number of
pages in a single windows, right ?


To a good extent, yes. Many web designers prefer iframe over regular frames
because it's a lot easier to lay out. Using iframes also means fewer files.
Jul 17 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
2099
by: Dan Popa | last post by:
Check out the following 2 links: http://www.batisdev.com/admin/test_1images.asp http://www.batisdev.com/admin/test_2images.asp First page contain 4 IFRAMES and 1 IMG tags. Second page contain 4 IFRAMES and 2 IMGs tags. The problem is that the second IFRAME from the second page generates fires a new session.
7
3691
by: Scott | last post by:
Hello All, I've been reading all of the various issues with Iframes in netscape. I have tried all of the various fixes posted, and have even implemented both an iframe and ilayer. My problem is that no matter which i use, i can access the src before and after i change it, but the page never displays. in IE6 it works no matter how i access it. here is the code that is changing it: function InternalNav(sPage) {
3
2687
by: Nick Tew | last post by:
Hi, Firstly, any help would be gratefully received. Im using several iframes on a single page and would like individual 'back' and 'forward' buttons located in each of the iframes which only relate to the information inside the iframe. Ive managed to put 'back' and 'forward' buttons on each of the iframe's by using:
1
1682
by: Nick Tew | last post by:
Hello, This relates to the previous post i've left. This problem is do with the browser's back and forward buttons. When clicked, can it be made to affect any history NOT in the iframes. Therefore only going backwards and forwards through the pages history; leaving the iframes as they are. Any help would be great.
6
7109
by: adnanx82 | last post by:
Hi, I was wondering if anyone knew how to perform the following 2 tasks in Javascript: 1) distinguish between frames and iframes (during an onload event for example) 2) figure out whether a container page has finished loading completely with all its component frames or iframes (onload event is not useful because we have more than one onload, and container page onload is not
9
1949
by: Peter Jenkins | last post by:
I needed to implement a "page within a page" and rather than use frames (yecchh) decided to try using the object tag. Flung a test page together, tried it out in IE and Firefox on my PC, it worked perfectly (apart from the right hand scrollbar in IE). Picked up the page to be inserted ( http://sms.connexus.co.nz/sst/default.asp) and displayed it exactly as I hoped in both browsers. Great!
3
2148
by: Giggle Girl | last post by:
Is there a way to use Javascript to detect if a browser supports IFrames, or (if it DOES support them) that IFrame use is enabled? Thanks, Ann
1
1373
by: Pacific Fox | last post by:
Would anyone know what browsers are supported by AJAX in general? I've been trying to find this at several sources, but it's never really mentioned. Thanks.
2
12893
by: ericisjusteric | last post by:
I have a page with multiple iframes and need to have the user (ie6) be able to click a button to refresh any one of the iframes - but also to click another button at the top of the page to refresh all of them - from the server (this could be on page refresh also) as the purpose is to reset the iframe to the original content in case the user clicked on a link in that iframe and changed it, but also in case there were updates to the original page...
0
8995
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9558
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9378
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9253
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8250
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6077
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4608
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3316
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2216
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.