////////////////////////////////////////////////////////////////////////////// // // $Date: 2001/07/11 09:39:32 $ // $Id: menujs.phtml,v 2.0 2001/07/11 09:39:32 olivier Exp $ // $Revision: 2.0 $ // $Source: /usr/local/.cvs/package_ini/menu/menujs.phtml,v $ // $Log: menujs.phtml,v $ // Revision 2.0 2001/07/11 09:39:32 olivier // Realease 2.0 // // Revision 1.3 2001/07/06 16:37:38 olivier // Suppression des noborder // // Revision 1.2 2001/06/27 12:44:39 olivier // Ajout des entetes // // ////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////// // Browser detection ////////////////////////////////////////////////////////////////////////////// BR_DOM = (document.getElementById) ? true : false; BR_NS4 = (document.layers) ? true : false; BR_IE = (document.all) ? true : false; BR_IE4 = BR_IE && !BR_DOM; BR_MAC = (navigator.appVersion.indexOf("Mac") != -1); BR_IE4M = BR_IE4 && BR_MAC; BR_BS = BR_NS4 ? "NS" : BR_DOM ? "DOM" : "IE"; ////////////////////////////////////////////////////////////////////////////// // Popup with border ////////////////////////////////////////////////////////////////////////////// function popuphdnew(mypage,myname,wantedx,wantedy,w,h) { var hr='0'; var maxy= screen.height-menuy; if (popupy>menuy) maxy= screen.height-popupy; var maxx= screen.width-menux; if (wantedy>maxy) { wantedy=maxy; } if (wantedx>maxx) { wantedx=maxx; } if ( (wantedx+popupx+menux) menuy) maxy= screen.height-popupy; var maxx= screen.width-menux; //alert ('maxy = '+maxy+' maxx = '+maxx); if (wantedy>maxy) { wantedy=maxy; } if (wantedx>maxx) { wantedx=maxx; } if ( (wantedx+popupx+menux)