jaczura
10-06-2003, 06:48 AM
Hi!
My question is how to open a page with 3 frames (upper, lef, right) as a new window when clicking on a link.
So the framset of the new page with 3 frames is always the same but according the links I clicked, the content of the frames should change.
In the same framed window I can use:
<SCRIPT language="javascript">
function loadLinks(cUrl1,cFrame1,cUrl2,cFrame2,cUrl3,cFrame3) {
parent.frames[cFrame1].location = cUrl1
parent.frames[cFrame2].location = cUrl2
}
</SCRIPT>
<A href="javascript:loadLinks('../xxx.html','left','../yyy.html','right','../zzz.html',upper')">link1</a>
but how to use it to open a new window and set its content?
Thans for your reply!
Jac from Hungary
My question is how to open a page with 3 frames (upper, lef, right) as a new window when clicking on a link.
So the framset of the new page with 3 frames is always the same but according the links I clicked, the content of the frames should change.
In the same framed window I can use:
<SCRIPT language="javascript">
function loadLinks(cUrl1,cFrame1,cUrl2,cFrame2,cUrl3,cFrame3) {
parent.frames[cFrame1].location = cUrl1
parent.frames[cFrame2].location = cUrl2
}
</SCRIPT>
<A href="javascript:loadLinks('../xxx.html','left','../yyy.html','right','../zzz.html',upper')">link1</a>
but how to use it to open a new window and set its content?
Thans for your reply!
Jac from Hungary