what is iFrames ?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • maxim vexler

    #1

    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.
  • VooDoo

    #2
    Re: what is iFrames ?

    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:41124a67$1 @news.012.net.i l...[color=blue]
    > 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 ?[/color]
    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[color=blue]
    > - does all the popular browsers support it (mostly mozilla & the much
    > hated IE, google says the do but nothing is better that experienced[/color]
    answer)
    YES[color=blue]
    > - iFrames replaces the old frames once used in html to show a number of
    > pages in a single windows, right ?[/color]
    YES kind of[color=blue]
    > - what are common uses of iFrames ?[/color]
    Same as frames[color=blue]
    > - mostly importantly does php support iFrames & if so how?[/color]
    yes, in fact this not a php issue, php just return html code
    [color=blue]
    >, will i need to use PEAR for that ?[/color]
    NO[color=blue]
    > i thank you for your comments, maxim.[/color]
    no prob, but go on an html forum for more info on frames and iframes
    VooDoo


    Comment

    • Phil Roberts

      #3
      Re: what is iFrames ?

      "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:
      [color=blue]
      > - what is iFrame, i mean what is it good for ?[/color]

      It's an inline frame. Useful for providing frames that are embedded
      in a regular page.
      [color=blue]
      > - does all the popular browsers support it (mostly mozilla & the
      > much hated IE, google says the do but nothing is better that
      > experienced answer) -[/color]

      Everything upwards of Netscape4/IE4 will support them. Unless
      you're visually impaired of course.
      [color=blue]
      > iFrames replaces the old frames once used
      > in html to show a number of pages in a single windows, right ?[/color]

      Wrong.
      [color=blue]
      > - what are common uses of iFrames ?[/color]

      "Preview Windows", such as you may find when posting on a message
      board.
      [color=blue]
      > - mostly importantly does php support iFrames & if so how?, will
      > i need to use PEAR for that ?[/color]

      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

      Comment

      • Nikolai Chuvakhin

        #4
        Re: what is iFrames ?

        "maxim vexler <hq4ever (at) 012 (dot) net (dot) il>" wrote
        in message news:<41124a67$ 1@news.012.net. il>...[color=blue]
        >
        > 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 ?[/color]

        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.


        [color=blue]
        > - does all the popular browsers support it (mostly mozilla & the much
        > hated IE, google says the do but nothing is better that experienced
        > answer)[/color]

        If a browser claims compatibility with HTML 4.0, it should be able to
        render iframes.
        [color=blue]
        > - iFrames replaces the old frames once used in html to show a number of
        > pages in a single windows, right ?[/color]

        Not exactly. "Old frames" remain alive and well.
        [color=blue]
        > - what are common uses of iFrames ?[/color]

        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.
        [color=blue]
        > - mostly importantly does php support iFrames & if so how?,[/color]

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

        Cheers,
        NC

        Comment

        • maxim vexler

          #5
          Re: what is iFrames ?

          Nikolai Chuvakhin wrote:[color=blue]
          > "maxim vexler <hq4ever (at) 012 (dot) net (dot) il>" wrote
          > in message news:<41124a67$ 1@news.012.net. il>...
          >[color=green]
          >>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 ?[/color]
          >
          >
          > 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
          >
          >[color=green]
          >>- does all the popular browsers support it (mostly mozilla & the much
          >> hated IE, google says the do but nothing is better that experienced
          >> answer)[/color]
          >
          >
          > If a browser claims compatibility with HTML 4.0, it should be able to
          > render iframes.
          >
          >[color=green]
          >>- iFrames replaces the old frames once used in html to show a number of
          >>pages in a single windows, right ?[/color]
          >
          >
          > Not exactly. "Old frames" remain alive and well.
          >
          >[color=green]
          >>- what are common uses of iFrames ?[/color]
          >
          >
          > 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.
          >
          >[color=green]
          >>- mostly importantly does php support iFrames & if so how?,[/color]
          >
          >
          > There is no need for PHP to "support iFrames"; PHP is not a browser.
          >
          > Cheers,
          > NC[/color]

          now i see, thank you.

          "does php support iFrames" yyeee right, hahaha how off topic can one be.

          Comment

          • Geoff Berrow

            #6
            Re: what is iFrames ?

            I noticed that Message-ID: <41124a67$1@new s.012.net.il> from maxim
            vexler <hq4ever (at) 012 (dot) net (dot) il> contained the following:
            [color=blue]
            >- what is iFrame, i mean what is it good for ?[/color]

            <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/

            Comment

            • maxim vexler

              #7
              Re: what is iFrames ?

              Geoff Berrow wrote:[color=blue]
              > I noticed that Message-ID: <41124a67$1@new s.012.net.il> from maxim
              > vexler <hq4ever (at) 012 (dot) net (dot) il> contained the following:
              >
              >[color=green]
              >>- what is iFrame, i mean what is it good for ?[/color]
              >
              >
              > <starr>Absolute ly nuthin, say it again, y'all!</starr>
              >[/color]

              why ?

              Comment

              • Geoff Berrow

                #8
                Re: what is iFrames ?

                I noticed that Message-ID: <4112bf18@news. 012.net.il> from maxim vexler
                <hq4ever (at) 012 (dot) net (dot) il> contained the following:
                [color=blue][color=green]
                >>[color=darkred]
                >>>- what is iFrame, i mean what is it good for ?[/color]
                >>
                >>
                >> <starr>Absolute ly nuthin, say it again, y'all!</starr>
                >>[/color]
                >
                >why ?[/color]

                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/

                Comment

                • Michael Whittaker

                  #9
                  Re: what is iFrames ?

                  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:<4112bf18@ news.012.net.il >...[color=blue]
                  > Geoff Berrow wrote:[color=green]
                  > > I noticed that Message-ID: <41124a67$1@new s.012.net.il> from maxim
                  > > vexler <hq4ever (at) 012 (dot) net (dot) il> contained the following:
                  > >
                  > >[color=darkred]
                  > >>- what is iFrame, i mean what is it good for ?[/color]
                  > >
                  > >
                  > > <starr>Absolute ly nuthin, say it again, y'all!</starr>
                  > >[/color]
                  >
                  > why ?[/color]

                  Comment

                  • Chung Leong

                    #10
                    Re: what is iFrames ?


                    "maxim vexler <hq4ever (at) 012 (dot) net (dot) il> >" <"maxim vexler
                    <hq4ever (at) 012 (dot) net (dot) il> wrote in message
                    news:41124a67$1 @news.012.net.i l...
                    [color=blue]
                    > - iFrames replaces the old frames once used in html to show a number of
                    > pages in a single windows, right ?[/color]

                    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.


                    Comment

                    • Pjotr Wedersteers

                      #11
                      Re: what is iFrames ?

                      maxim vexler <hq4ever (at) 012 (dot) net (dot) il> >" < wrote:[color=blue]
                      > 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.[/color]

                      Although language illegible for you probably, see my site www.westerterp.com
                      for an example of iframes.
                      I designed it like that to embed the weblog I run but is hosted elsewhere.
                      Pjotr


                      Comment

                      Working...