PDA

View Full Version : putting page into correct frame


James Peet
05-17-2006, 05:14 AM
onclick="window.location = 'Page11.htm'"


I am trying to figure out what to put in the window.location area to put this page into the correct frame. The frame "name" is "frame2". I put Frame2 in location space and then into the window space.

"onclick="window.frame2 = 'Page11.htm'", and "onclick="frame2.location = 'Page11.htm'"

What information have I left out, or have I just put it in incorrectly.

This is a new area to me so I easily get lost in it.

Any help would be appreciated.

Thank you

_Aerospace_Eng_
05-17-2006, 06:06 AM
onclick="parent.frame2.location = 'page11.htm'"
which is what I gave you the first time you asked about this.

oldcrazylegs
05-18-2006, 09:13 PM
here are more http://dwight.clickthesky.com/framesandiframes/frames/javascript.html