Annotation of doc/window_handling.txt, revision 1.1

1.1     ! harris41    1: The following files have window handling:
        !             2: (find . -type f | xargs grep -s -l -i '<script' | xargs grep -s -l -i '\.open')
        !             3: 
        !             4: ./loncom/homework/lonhomework.pm
        !             5: ./loncom/html/res/adm/pages/annotator/admannotations.pm
        !             6: ./loncom/html/res/adm/pages/homeworkmenu.html
        !             7: ./loncom/html/res/adm/pages/menu.html
        !             8: ./loncom/html/res/adm/pages/bookmarkmenu/bookmarkpal_old.html
        !             9: ./loncom/interface/londropadd.pm
        !            10: ./loncom/interface/lonmenu.pm
        !            11: ./loncom/interface/lonnavmaps.pm
        !            12: ./loncom/interface/lonparmset.pm
        !            13: ./loncom/interface/loncreateuser.pm
        !            14: ./loncom/xml/scripttag.pm
        !            15: ./rat/client/code.html
        !            16: ./rat/client/parameter.html
        !            17: 
        !            18: things that refer to loncapaclient
        !            19: find . -type f | xargs grep loncapaclient
        !            20: 
        !            21: #########################################
        !            22: # ./loncom/html/res/adm/pages/menu.html
        !            23: #
        !            24: 
        !            25: clienthost=window.location.host;
        !            26: clientwindow=opener;
        !            27: 
        !            28: function windowcheck() {
        !            29:    if (clientwindow.closed) {
        !            30:       clientwindow=window.open("http://"+clienthost+"/"); 
        !            31:    }
        !            32:    clientwindow.name='loncapaclient';
        !            33: }
        !            34: 
        !            35: function logout () {
        !            36:    windowcheck();
        !            37:    if (clientwindow.status!='MenuControl:nologout')
        !            38:    {   
        !            39:       clientwindow.window.location.href="http://"+clienthost+"/adm/logout";
        !            40:    }
        !            41: }
        !            42: 

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>