|
Posted by soup_or_power@yahoo.com on 02/07/07 15:07
Hi
I have a frameset containing two frames: left and right.
%>
<frameset cols="20%, 80%" >
<frameset rows="100,200" >
<frame src="frame1.html" name=_frame2>
</frameset>
<frame src="test.jsp" name=_frame1>
</frameset>
The left frame (frame1.html) has links to the bookmarks in the right
frame as follows:
<a href="#bookmark1" target="left_frame"> bookmark1 </a>
<a href="#bookmark2" target="left_frame"> bookmark2 </a>
The right frame displays the output of Java Code (JSP) in test.jsp
that has all the book marks.
Now when I click on the left frame links, I expect to see the right
frame put the bookmark on the top of the frame. However, what I see is
a blank left frame.
Then I tried the following in frame1.html
<a href="test.jsp#bookmark1" target="left_frame"> bookmark1 </a>
<a href="test.jsp#bookmark2" target="left_frame"> bookmark2 </a>
This calls the test.jsp script on the server. I don't want the
test.jsp called more than once, i.e. at the time of initializing the
frames.
Can someone please help me figure this out?
Thanks
Navigation:
[Reply to this message]
|