Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript_objects thread: opening a frame page.


Message #1 by "Puseletso Portia Sephula" <SephulPP@t...> on Fri, 07 Sep 2001 10:59:11 +0200
hi
I am writing a script that does comparison
I use :
window.parent.frames("contents").location="path"
window.parent.frames("main").location="path"
to open another frame page and closing the current one.


1. what the program does  is, when the compare = false , 
it opens  the external window for false( this is ok)

2. but when compare is true , 
I want it to open the page on the main side of the frame, not the
external window like when it is false above. 
 
3. When i use the window.parent.frames from the program that does 
comparison and linked to the content side of a frame page,
     I get an error. ( I want to use this one )

4. But when I use window.parent.frames directly from the contents page
it does open the page I want,  on the main side of the frame   page.

Please help ,  I wan to use the option in paragraph 3, since it is the
link that contains the form  with the textfield and javascript that 
compares field inputs 
regards 
P. P. Sephula

  Return to Index