iframe question

Discussion in 'HTML & Website Design' started by Lpspider, Nov 22, 2007.

  1. #1
    Okay:

    One one page of my site I use an iframe and load a different site that I own. Basically this is to keep the navigation of the first site in place. However, when I click the navigation once viewing the iframe page, the iframe still shows up.

    So my question is this: how do I set this up so the iframe is only working/visible on the one page the iframe code is on and not all pages after viewing it?

    Thanks
     
    Lpspider, Nov 22, 2007 IP
  2. AstarothSolutions

    AstarothSolutions Peon

    Messages:
    2,680
    Likes Received:
    77
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I assume you are using a template file and a content file in which case the iframe should only be in the content file of the page that is to display it
     
    AstarothSolutions, Nov 22, 2007 IP
  3. Lpspider

    Lpspider Well-Known Member

    Messages:
    2,216
    Likes Received:
    56
    Best Answers:
    0
    Trophy Points:
    160
    #3
    You are correct. Is there no way around this?

    It's a wordpress page. I made a new page including the wordpress page because if I put the iframe on a page in wordpress in only covered the 1 column width, not 100%.
     
    Lpspider, Nov 23, 2007 IP