Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

what is the difference between parent and top

Status
Not open for further replies.

estesflyer

Programmer
Dec 19, 2000
284
US
im talking about when your manipulating one frame from another. when do you use parent, and when do you use top?

- Rusty
 
parent refers to the frameset containing the document that is referencing parent. Now let's say said frameset is inside another frameset. You would then have to use parent.parent to get to the top one. Or, you could just use top. :) jared@aauser.com
 
OHHHH!!! I think I get it now! so, aight! sweet! so, if you had one frameset, you would use top to manipulate all of em, but you use parent to go from level to level right?
 
And to bust right out and kill your frames you can target
'_top'.


-Ben "Alright whatever man, I'll hook up the hair, but I aint touchin the ring...Cause I'm still a pla--yer"
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top