This week's book giveaway is in the
We're giving away four copies of a choice of
"Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac"
and have Joe Kissell on-line!
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Take Control of Upgrading to Yosemite
Take Control of Automating Your Mac
this week in the
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
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-2014