New to iFrames

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • S W

    New to iFrames

    Hi,

    Is it possible to (simply!) set the src of an iframe from a hyperlink
    outside of the iframe, but on the same page?

    So by clicking on a button, link, whatever, the iframe's src can be changed
    to a different page?

    Thanks in advance,

    SW


  • David Dorward

    #2
    Re: New to iFrames

    S W wrote:
    [color=blue]
    > Is it possible to (simply!) set the src of an iframe from a hyperlink
    > outside of the iframe, but on the same page?[/color]



    .... but its almost certainly a better idea to give up on iframes and look
    for an alternative.



    --
    David Dorward <http://blog.dorward.me .uk/> <http://dorward.me.uk/>
    Home is where the ~/.bashrc is

    Comment

    • S W

      #3
      Re: New to iFrames

      "David Dorward" <dorward@yahoo. com> wrote in message
      news:e5ksdl$du7 $1$830fa7a5@new s.demon.co.uk.. .[color=blue]
      >S W wrote:
      >[color=green]
      >> Is it possible to (simply!) set the src of an iframe from a hyperlink
      >> outside of the iframe, but on the same page?[/color]
      >
      > http://www.w3.org/TR/html4/present/frames.html#h-16.3
      >
      > ... but its almost certainly a better idea to give up on iframes and look
      > for an alternative.
      >
      > http://allmyfaqs.net/faq.pl?Problems_with_using_frames
      >
      > --
      > David Dorward <http://blog.dorward.me .uk/> <http://dorward.me.uk/>
      > Home is where the ~/.bashrc is[/color]

      David,

      Thanks for the assistance. It /is/ easy to change the file showing in an
      iframe. I have come across so many warnings about frames before, I thought
      iFrames were different! There is no specific reference to them in your
      second link.
      However, I will look at using css instead.

      Regards,
      SW


      Comment

      • David Dorward

        #4
        Re: New to iFrames

        S W wrote:
        [color=blue]
        > Thanks for the assistance. It /is/ easy to change the file showing in an
        > iframe. I have come across so many warnings about frames before, I thought
        > iFrames were different![/color]

        They are - browser support for them is worse. They still have the same
        problems as regular frames though.


        --
        David Dorward <http://blog.dorward.me .uk/> <http://dorward.me.uk/>
        Home is where the ~/.bashrc is

        Comment

        Working...