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!

how to change the properties of a frame in a new window

Status
Not open for further replies.

estesflyer

Programmer
Dec 19, 2000
284
US
ok, what I have done is made a new page, a blank page, (i opened the window as about:blank) and i made that window have frames. how can I edit info inside one of the frames inside the new window (which is already about:blank)

this might help better

all code in one document makes up all the content of a new page, and another page inside the new page.

all the code is stored in page 1, which opens a new window, page 2, and page 2 contains 3 frames, which are all a separate blank pages (they are all little page 3's)

i want to be able to edit content in the little page 3's, from page 1.

TIA

- Rusty
 
Well in order to do this you need to be able to get messages to the frames, so you need to know the names of each individual one, and address them as such:


windowName.frameName.property

If this is not working, say if you are making calls from one of the frameset windows to another, you will have to use parent in place of frameName.

What do you mean exactly by edit content? Perhaps an inner html question? I have not had to use that yet, but I get the feeling this is what that is for.

-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