Link to home
Start Free TrialLog in
Avatar of bjbuijze
bjbuijze

asked on

Javascript navigation in popup with frames

I have to produce a popup-window in one of the frames of a frame-page that controls the whole frameset of the original window. Is that possible?

So if I have
<frameset  rows="125,*">
<frame name="obj_top" src="" marginwidth="0" marginheight="0" scrolling="Auto" frameborder="0">
<frame name="obj_bottom" src="" marginwidth="0" marginheight="0" scrolling="auto" frameborder="0">
</frameset>

I would want to open the window from obj_bottom and then target the whole frame.
Is this possible aswell if some link within the frameset uses the _top reference? In other words is there a full-proof way of getting a popup-navigation window that always controls the main window?
It's going to be used in a distributed web-app, so any security-settings or other less elegant solutions may be used!

Thanx in Advanced!
ASKER CERTIFIED SOLUTION
Avatar of Member_2_242582
Member_2_242582

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of bjbuijze
bjbuijze

ASKER

Arjan,

IT seems that we're almost there, but I still get a JS-error within the Obj_bottom file (here bottom.htm)

JavaScript Error: http://127.0.0.1/cfdocs/diversCF/bottom.htm, line 13:

MyWin.FrameSetUnloaded is not a function.

Any last suggestions?

Thnx

Instead of MyWin, it should be MyWindow.... That should take care of the javascript error...
Also make sure all cases are correct, as javascript is case sensitive...
Therefore, MyWindow and mywindow are two different things...


Arjan.
Arjan,

Unfortunately that is not enough to do the trick. Something else is still wrong as I keep getting the same JS-error.

Any other possibilities?

Thnx
Bart