frames - how to open 2 htms by clicking one link
okay, similar to already asked question.
I use a javascript to open 2 htm is a frameset by clicking one link
<script><!--
function charger1(mainframe,leftdown){
parent.mainframe.location=mainframe;
parent.left.location=left;
}
//--></script>
mainframe=a
left=navigation link =b
leftdown=c
leftup=d
_______
| | |
|b|a | now i load with a link in b a new frameset into b
| | |
_______
|c| |
|-|a |
|d| |
If i now klick on a link in c, with the above script, it won't open, bringing error "parent.mainframe is null or not an object"
don't really know what that means but guess it can't find mainframe as only looking in child frame?
how can i load a link from c into d (child frame) and a (parent frame). Can the above script be modified or do i need a new one and if yes, which one?
oh in the body, the scripts is called with:
<A HREF="javascript:charger1('test.htm','test2.htm');">link </a>
"Sometimes you have to punch your way through" Cpt. K. J.
Bookmarks