I
ipellew
Hi;
I open another browser window for help.
It stays open untill I press help on my main web window again to close
this help.
If I "reload" the main window with this help page open in the main
window the browser complains of a "script stop running".
How do I deal with an open "help" web window on this reload?
My help code is:-
function shw_help(){
if ( help_shown ) {
help_win.close();
help_shown = false
} else {
help_win =
window.open('try_01_help.html','','width=500,height=500');
help_shown = true
}
}
This func is called from a <input ..onclick=(shw_help();...>
Is there something else I could do to test if the help window is open
at html start time?
I guess there is an onload() event somewhere!!
Regards
Ian
I open another browser window for help.
It stays open untill I press help on my main web window again to close
this help.
If I "reload" the main window with this help page open in the main
window the browser complains of a "script stop running".
How do I deal with an open "help" web window on this reload?
My help code is:-
function shw_help(){
if ( help_shown ) {
help_win.close();
help_shown = false
} else {
help_win =
window.open('try_01_help.html','','width=500,height=500');
help_shown = true
}
}
This func is called from a <input ..onclick=(shw_help();...>
Is there something else I could do to test if the help window is open
at html start time?
I guess there is an onload() event somewhere!!
Regards
Ian