I have two windows in a frame. I want to be able that each can open a
pop up window and that the handle to that window can be stored
somewhere, so that each can talk to the pop up.
is it possible that window 1 in a frameset calls a function in window 2,
ie. something like:
window 1:
....
opener()
....
write_to_pop_up ('hello, world');
window 2:
handle; // global handle
function opener() {
handle = window.open(... );
}
function write_to_pop_up (text) {
handle.write(te xt);
}
Since both reside in a frameset, how can I check that window 2 has been
fully loaded? I.e. that I really can call opener?
Any good pointers to information like this? Or a good advanced JS
tutorial?
TIA,
--
John MexIT: http://johnbokma.com/mexit/
personal page: http://johnbokma.com/
Experienced programmer available: http://castleamber.com/
Happy Customers: http://castleamber.com/testimonials.html
pop up window and that the handle to that window can be stored
somewhere, so that each can talk to the pop up.
is it possible that window 1 in a frameset calls a function in window 2,
ie. something like:
window 1:
....
opener()
....
write_to_pop_up ('hello, world');
window 2:
handle; // global handle
function opener() {
handle = window.open(... );
}
function write_to_pop_up (text) {
handle.write(te xt);
}
Since both reside in a frameset, how can I check that window 2 has been
fully loaded? I.e. that I really can call opener?
Any good pointers to information like this? Or a good advanced JS
tutorial?
TIA,
--
John MexIT: http://johnbokma.com/mexit/
personal page: http://johnbokma.com/
Experienced programmer available: http://castleamber.com/
Happy Customers: http://castleamber.com/testimonials.html
Comment