Can iframe child page change the parent page's URL? And How?

Discussion in 'Web Design and Development' started by youlichika, Sep 5, 2010.

  1. youlichika macrumors member

    Joined:
    Aug 27, 2010
    #1
    the parent page's URL is: http://lcoalhost
    Child page position in the folder htdoc/page, Child page name: 1.php, 2.php, 3.php ... ...
    By default, the parent page's IFRAME is the 1.php,
    1.php has some buttons, I can switch to 2.php, 3.php ... ...(2.php, 3.php are also in this iframe)
    Can iframe child page change the parent page's URL?
    Such as: when iframe child page is 1.php, the parent page's URL is http://lcoalhost or http://lcoalhost / index.php? Page = 1
    when iframe child page is 2.php, the parent page's URL is http://lcoalhost / index.php? Page = 2
    when iframe child page is 3.php, the parent page's URL is http://lcoalhost / index.php? Page = 3
    ... ...
     
  2. angelwatt Moderator emeritus

    angelwatt

    Joined:
    Aug 16, 2005
    Location:
    USA

Share This Page