I have a frameset with a top, left, and right frame. There is a form in the right frame. I want two buttons. "yes" button should display a html page in right frame. "no" button should change to a new frameset with only left and right frames(with different relative widths than this frameset), and different content. At first I thought I needed to call another servlet but I dont, so this is what I have so far. <HR></BLOCKQUOTE> I hope that displays properly. Perhaps I dont need a form at all? I would also like suggestions on implementing the quiz. I am thinking of using an applet(make the client do part of the work), but I could use JSP or SSI(or a servlet like I first concidered). I am also thinking about using JDBC and hold the questions in a database. But I think an applet holding all questions and answers is better. PS: this chunk of code is the only thing holding me up from compiling and installing new servlets. OK I think I figured it out: <HR></BLOCKQUOTE> but what about the action of the form? I dont need it. Is it optional?
[This message has been edited by Randall Twede (edited January 31, 2001).]
and on this line I need the parent of the parent. "<p><input type='button' value='No, I have enough gold.' onClick=\"parent.location.replace('http://javaguy.yi.org/examples/MagicItems.html')\"></form>" + here are my framesets: <HR></BLOCKQUOTE> Should I nest the framesets instead? [This message has been edited by Randall Twede (edited January 31, 2001).]