Results 1 to 3 of 3

Thread: Parent window vs. _self?

  1. #1
    Join Date
    Mar 2006

    Parent window vs. _self?

    Hi, I've looked but don't really understand it.

    I can see what the _self window does. I don't really understand the definition of the parent window though. What exactly does it do making your new window go into a parent window? Thanks a lot!

  2. #2
    Join Date
    Mar 2005
    Sydney, Australia
    When you have frames or iframes then the frameset containing the frames or page containing the iframe is the parent. If you use _self in that situation then you load into the frame or iframe, to load in place of the frameset or page that immediately contains that frame or iframe you use _parent. Framesets can be nested and iframes can contain pages that contain further iframes so this is not necessarily equivalent to the full window. To target the full window regardless of how many layers of frames that you are into the page you use _top.

    If you are not using frames or iframes then _self, _parent and _top are equivalent.

    _self is equivalent to not specifying a target at all but is useful to override the default target specified in a base tag.

  3. #3
    Join Date
    Mar 2006
    Thanks again Felgall! Geeze wiz!!! Glad I am not using frames. This is way over my head at this point. At least I finally caught on to css. :0

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