home *** CD-ROM | disk | FTP | other *** search
/ PC Professionell 2005 July / PCpro_2005_07.ISO / files / internet / JanaServer / JanaSetup.exe / admin / seiten_js / help.js < prev    next >
Encoding:
Text File  |  2005-02-20  |  817 b   |  39 lines

  1. function zweiseit(aktiv, seite1, seite2)
  2. {
  3.     parent.header.document.dummy.menu.value = aktiv;
  4.     parent.main.location.replace(seite1);
  5.     self.location.replace(seite2);
  6. }
  7.  
  8. /**/
  9.  
  10. function fenster(seite, hoehe)
  11. {
  12.     var na = navigator.appName;
  13.     var ve = navigator.appVersion.substr(0, 3);
  14.  
  15.     if ((na == 'Microsoft Internet Explorer') || ((na == 'Netscape') && (ve == '5.0')))
  16.     {
  17.         var h = 31;
  18.         var w = 12;
  19.     }
  20.     else
  21.     {
  22.         var h = 0;
  23.         var w = 0;
  24.     }
  25.  
  26.     helpself = window.open(seite,'helpself','width=100,height=100,resizable=1');
  27.     helpself.resizeTo(760 + w, hoehe + h);
  28.     helpself.moveTo(0, 0);
  29.     helpself.focus();
  30. }
  31.  
  32. /**/
  33.  
  34. function mailkonfig(x)
  35. {
  36.     parent.header.document.dummy.mail.value = x;
  37.     parent.main.location.replace('/jana-admin/admin/menue/info_email.htm');
  38.     self.location.reload();
  39. }