« Return to Thread: How to realize frames in my own jspwiki

How to realize frames in my own jspwiki

by acilo :: Rate this Message:

Reply to Author | View in Thread

I programmed my own folder tree for my JSPWiki and want to place it on the left side. I tried it with <div> Tags like this:
<div style="width:20%; white-space:nowrap; float:left;">
     <wiki:Include page="tree.jsp"/>
</div>
<div style="width:80%; white-space:nowrap; float:right;">
     <wiki:Include page="ViewTemplate.jsp"/>
</div>   in Wiki.jsp.
This works fine but when I click a link in the tree to open a page in the right content , left and right content reload instead of right content alone.

I also tried it with Frames like this:
 <frameset cols="250,*">
  <frame name="Navigation" target="Dates" src="tree.jsp">
  <frame name="Dates" src="ViewTemplate.jsp">
  <noframes>
    <body>
      <p> no Frames possible </p>
    </body>
  </noframes>
</frameset>
But this doesn't work. There is nothing on screen.

How can I fix this? Thank You!

 « Return to Thread: How to realize frames in my own jspwiki