An Iframe question

Discussion in 'HTML & Website Design' started by guitarbinge, Feb 6, 2009.

  1. #1
    Hello,

    Does anyone know how to embed a webpage in another page using an iframe such as:

    <iframe id ="testFrame" src="http://www.google.com"> </iframe>

    and then when you click on a link inside the iframe (say the a link on the google page above) have the linked page load up in the same iframe?

    I'm looking for something similar to:

    http://www.spotstart.com
    (for example, select google in the above and note the url after pressing go..)

    thank you
     
    guitarbinge, Feb 6, 2009 IP
  2. Sparaker

    Sparaker Peon

    Messages:
    204
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Doesn't iframe by default open up their successive pages in themselves unless or untill specified by the target attribute in the anchor tag ? I think this happens by default.
     
    Sparaker, Feb 6, 2009 IP
  3. camp185

    camp185 Well-Known Member

    Messages:
    1,653
    Likes Received:
    51
    Best Answers:
    0
    Trophy Points:
    180
    #3
    camp185, Feb 9, 2009 IP