A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Applet code to redirect a frame from applet running in different frame
Joined: Jun 24, 2012
Jun 24, 2012 13:23:34
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
I agree. Here's the link:
subject: Applet code to redirect a frame from applet running in different frame
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
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015