B
boyke
hallo
i have 2 frames.
left frame -->menu.htm.
right frame -->main.htm.
on main.htm i have a iframe ,named mainframe.
Now on the left frame a use a javascript menu to link my pages to the right
frame,but i hase to open on the iframe in the right frame
the whole script is taken up on the first line in the html page
<example>
<HEAD>
<link rel="stylesheet" href="assets/dtree.css" type="text/css">
</head>
</example>
here is a example of the script that i put on the menu.html ,simple for
linking
<script type="text/javascript">
d = new dTree('d');
d.add(0, -1, 'Disclaimer', 'html/disclaimer.htm' ) ; // -1
= startplaats
<--javascript
Now the problem is when i do this it's opent the page in the left frame,and
not in the iframe,whats normal,because it's not linked to the iframe,but
there is my problem,how do i link it to the iframe
i treid something like this,
<script>
d.add(0, -1, 'Disclaimer', 'html/disclaimer.htm
,'target=mainframe') ; // -1 = startplaats,
</script>
but this dont work's.
i hope you understand it a little,because my english is not so good ;-)
greets boyke
i have 2 frames.
left frame -->menu.htm.
right frame -->main.htm.
on main.htm i have a iframe ,named mainframe.
Now on the left frame a use a javascript menu to link my pages to the right
frame,but i hase to open on the iframe in the right frame
the whole script is taken up on the first line in the html page
<example>
<HEAD>
<link rel="stylesheet" href="assets/dtree.css" type="text/css">
</head>
</example>
here is a example of the script that i put on the menu.html ,simple for
linking
<script type="text/javascript">
d = new dTree('d');
d.add(0, -1, 'Disclaimer', 'html/disclaimer.htm' ) ; // -1
= startplaats
<--javascript
Now the problem is when i do this it's opent the page in the left frame,and
not in the iframe,whats normal,because it's not linked to the iframe,but
there is my problem,how do i link it to the iframe
i treid something like this,
<script>
d.add(0, -1, 'Disclaimer', 'html/disclaimer.htm
,'target=mainframe') ; // -1 = startplaats,
</script>
but this dont work's.
i hope you understand it a little,because my english is not so good ;-)
greets boyke