...

View Full Version : Child lost Parent or visa-versa...



Jerome
03-03-2003, 05:15 PM
Hi,

My Child has lost his Parent!

I have a frame-set with 2 documents:

1.
not interesting

2.
main-page (within the frame-set name: dhtml)
with an iframe (name: info)
and a function F();

In this iframe I have a frameset with 2 documents:

A.
not interesting

B.
main-page (within the frame-set name: sub)
with a <div onClick="??????.F()"></div>

On the question-marks I already tried:

parent
dhtml
parent.dhtml
document
document.all
document.all.dhtml

Unfortunately....

How can I activate this function F();

Jerome

beetle
03-03-2003, 05:53 PM
This absolute reference should call that function from anyplace within your frame gobbledygook.

top.frames['dhtml'].frames['info'].F();

Jerome
03-03-2003, 06:27 PM
Beetle,

Tjakkaaaa, excelent!

Merci Beaucoup (thanks)

Jerome



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum