Hello,
I've got a problem and I hope someone could help me.
I have a page that contains frames. Below a piece of code:
....
<FRAMESET COLS="120,*">
<FRAME NAME="menu" SRC="menu.html" >
<FRAME NAME="main" SRC="main.html">
</FRAMESET>
....
The page menu.html contains the following code:
....
<a href="javascript:window.open('test1.pdf','main')" doc1 </a>
<BR>
<a href="javascript:window.open('test2.pdf','main')" doc2 </a>
.....
The problem is that when I click on frame "menu" the links "doc1" and
"doc2" the pdf is correctly loaded (through the plug-in) but the
content of the frame "menu" disappears and appears the inscription
"[object]". This does not happen if the links doc1 and doc2 are
realized without JavaScript.
This problem is the exemplification of a more complicate case where
the menu.html contains a tree menu that for each item you have to
specify a ref = "code". Inside it I put a javascript function to be
executed because I have to load a pdf inside a different frame.
The question is if I could avoid the disappearing of menu frame using
a different approach or a simply modification of my javascript code.
Could you help me?
Reagards,
Camelot