www.webdeveloper.com
Results 1 to 3 of 3

Thread: :: TARGET of links in FRAMES (simple question) ::

  1. #1
    Join Date
    Jan 2008
    Location
    Monte-Carlo, Monaco
    Posts
    11

    :: TARGET of links in FRAMES (simple question) ::

    I just have a quick question:

    A few pages in the website I am working will be split into two frames (header with horizontal menu + bottom frame displaying archived content from a previous version of the website).

    I need the links in the top frame to control the whole window, not just the frame they are in.
    For example, a link in the top frame would say "Return to event description" and when clicked, I would like the browser to bring the whole window to that page (without frames), not just load it inside the frame. I guess this cannot be achieved with the "Target" variable...how can I do this?

    Thanks in advance!

  2. #2
    Join Date
    Nov 2006
    Location
    Springfield, MO
    Posts
    1,541
    The only way I know to do it would be by setting the target attribute on the link to _blank or calling an onClick javascript function to kick the file into its own window.

  3. #3
    Join Date
    Oct 2005
    Posts
    481
    Code:
    target="_top"
    That should do it for you (replace the frames document with a standard page occupying the same, full window.)

    Kelly

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