dcsimg
www.webdeveloper.com
Results 1 to 4 of 4

Thread: reverting a frame back into a non frames page

Hybrid View

  1. #1
    Join Date
    Mar 2003
    Posts
    26

    reverting a frame back into a non frames page

    Hi, all here is my latest obstacle that ihave been working on.
    I need to make a frames page to go back to a non frames with the current contents of the left frame inside of it when you click on a link.
    href="javascript:location.href=parent.realchoices.document.location.href"
    This code here works up until you start navigating through a particular page different from the page you started with in the frame then it refuses to budge. I am not real sure why this isn't working for me. anybody got any ideas.

  2. #2
    Join Date
    Mar 2003
    Posts
    26
    this will work it turns out location.href=parent.realchoices.location.href. yours may work I haven't tried it. Turns out my test was going off the server so it won't work because you simply can not reference it if it is off the server. Sorry about this, i feel abit sheepish but thanks for the help.

  3. #3
    Join Date
    Jan 2003
    Location
    UK
    Posts
    331
    So how would I get it so that 3 frames (top, main and bottom) all go into one non-framed page? Sorry I couldn't quite follow the coding below.

    IxxI

  4. #4
    Join Date
    Mar 2003
    Posts
    26
    clark provided some of the answer, although you can do it without this. top.window.location.href="whatever url" should do what you want it is the same as <a href="whatever" target="_top" > should also do it. Because even in a three frame page, top should refer to the top most window thus the page holding the three frames when you change its location it should go to the appropriate url inputted. Try it if it doesn't work post it. I was trying to revert back to a page referenced by a particular frame.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles