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!
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.
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
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)