--- doc/window_handling.txt 2001/04/29 19:50:06 1.1 +++ doc/window_handling.txt 2001/04/30 17:16:21 1.3 @@ -40,3 +40,33 @@ function logout () { } } + + +The way that children windows of +loncapaclient should work: + +* need to track if they have ever been opened +* if not, + * open when needed + * never refer to any object properties + * which also means never close +* if currently open, + * just focus when needed + * close when needed + * can refer to object properties +* if have been closed, + * can refer to object properties + +The way loncapaclient window "should" work. +* lonxml makes exceptions for some URI=resources like + * /res/adm/pages/menu.html + * bookmark stuff.html +* lonxml should by default + * a script command should follow the body tag + and + * name the window (loncapaclientURICHECKSUM) + * tell remote control it exists + * remote control checks clientwindow (opener) + and if opener.name is loncapaclientURICHECKSUM + it changes this to loncapaclient +