Register / Login
Applet code to redirect a frame from applet running in different frame
posted 3 years ago
I have an index.html page which contains a frameset looks like this:
<frameset rows="45,*"> <frame src="applet.html"> <frame src="page.html" name="xy"> </frameset>
I have an
running in the applet.html. What i want is to redirect the frame named "xy" to page2.html.
I tried to use this code:
getAppletContext().showDocument(new URL("page2.html"), "xy");
But it really can not work as the frame xy does not exist in applet.html, but exists in index.html.
top.frames['xy'].location = 'page2.html';
Is it possible with
opening 2 JSP in the same browser (from an applet )
Disable Frame using java scrpt
JSP forward tag
Using a variable in the src attribute of frame