Results 1 to 5 of 5
  1. #1

    Opening a new page in an iframe, is it possible?

    Hi All,

    I have an iframe here:
    <div align="center"><iframe src="" width="800" height="800" frameborder="0" scrolling="no" marginheight="0" marginwidth="0"></iframe></div>
    In this iframe I have about 20 pictures, right in the middle of the page I have 1 banner, I would like to publish another site in this area, when the user clicks on it,a new page opens with the new url. How to do this please?

    I do not want to add the banner after the </iframe> code or people will just remove it when using my code.

    Please help,


  2. #2
    try out javascript code that should populate a new window and include the specified iframe.. call this js on onclick.

  3. #3
    Join Date
    May 2010
    Kalamazoo, MI
    I can't remember the link for this, but I found it by googling 'ajax update iframe src' ... hope that helps your search for the code.

  4. #4
    make an iframe with name="myframe", then make a href with target="myframe".
    Sorry, I'm not allowed to post the tags (i have few posts)

  5. #5
    You can use Javascript's function or you can simply use target="_blank" in <a> tag.

Similar Threads

  1. How do I remove the box in an IFrame page?
    By robertk1 in forum Web Design and Content
    Replies: 3
    Last Post: 09-04-2008, 07:18 PM
  2. jump text does not work on different page on iframe!
    By hoachen in forum Programming Discussion
    Replies: 0
    Last Post: 02-22-2006, 05:56 PM
  3. opening a link with iframe!
    By RenderStream in forum Web Design and Content
    Replies: 1
    Last Post: 01-25-2005, 06:41 PM
  4. Page keeps forwarding to iframe SRC page for no reason?
    By bow-viper1 in forum Web Design and Content
    Replies: 1
    Last Post: 01-15-2005, 11:52 PM
  5. Opening a link on one page into an Iframe on ANOTHER page?
    By RandomFan in forum Web Design and Content
    Replies: 2
    Last Post: 10-03-2004, 05:09 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts