Manning's Countdown to 2014
. Use discount code crdotd14 all month for 50% off every deal.
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
It is sorta covered in the
JavaRanch Style Guide
subject: Applet code to redirect a frame from applet running in different frame
JSP forward tag
Disable Frame using java scrpt
Using a variable in the src attribute of frame
opening 2 JSP in the same browser (from an applet )
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013