Results 1 to 2 of 2

Thread: 'index.html?page=home' vs 'home.html' problem!

  1. #1
    Join Date
    Jul 2007

    'index.html?page=home' vs 'home.html' problem!

    Hey guys,

    I'm designing my website (currently and at the moment I have a menu that loads a page into an iFrame, which seems to work pretty well (I know a lot of people frown upon this, but it did help to speed up my site).
    When a user clicks on the 'home' link in the main menu, the 'home.html' page is loaded into an iFrame called "iframe2", which has worked fine.
    I have designed it so if a user happens to right click the link and open it into a new window, it will reload itself as "index.html?page=home", which Javascript then translates into "load home.html into iframe2" sort of thing.

    My problem:
    After the page is loaded in a new window, and it's changed to index etc.... for some reason, when a user LEFT-clicks a link on the menu page (such as 'webdesign.html'), it actually loads 'webdesign.html' over the entire 'index.html' rather than into the 'iframe2'...

    The call from the menu is made as a simple link with a target:

    href="webdesign.html" target="iframe2"

    Again, this works when the page is loaded through a link on 'index.html', but not after its loaded through "index.html?page=webdesign"

    Please, any help would be greatly appreciated! If you need me to explain anything again just let me know! It's hard to explain :P

    Just as an example, try these links: (and try load 'web design' from the top menu)



    ..and after each of them load, try to load one of the other links from the menu...
    Do the last two load into the iframe, or do they load the new page by itself?


    Ryan Stock // fatfroggenius

  2. #2
    Join Date
    Jul 2007

    Please help!

    Has anyone got any idea how to help? I really have no idea how to fix it


Similar Threads

  1. Internet Explorer Page Cannot Be Displayed Problem
    By y2ksrs in forum General Questions
    Replies: 0
    Last Post: 16 Sep 2005, 04:13 AM

Posting Permissions

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