1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Redirection script, Coding help needed.

Discussion in 'Software Development' started by iworld, Aug 8, 2006.

Thread Status:
Not open for further replies.
  1. iworld

    iworld Thread Starter

    Joined:
    Nov 24, 2005
    Messages:
    392
    I have an iFrame inside my web page, and in that iFrame I have a page, iframe.php. When you click a link in the iframe, the new page opens in the iFrame but not in the actual index.php page.

    Now I need a redirection code (html, javascript, php... any possible code is ok) that I will put in the iFrame and once a new page is opened, it automatically changes the index.php page.

    I hope I was clear enough so that you can understand my problem. Help would be greatly appreciated.
     
  2. Shadow2531

    Shadow2531

    Joined:
    Apr 30, 2001
    Messages:
    2,636
    put <base target="_top"> inside <head> of the framed page.
     
As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Loading...
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/490459

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice