home *** CD-ROM | disk | FTP | other *** search
/ PC World 2005 July & August / PCWorld_2005-07-08_cd.bin / komunikace / netscape / nsb-install-8-0.exe / chrome / aim.jar / content / aim / TabSetup.js < prev    next >
Text File  |  2004-12-02  |  815b  |  26 lines

  1.  
  2. function AimWindowLoad2(topWindow)
  3. {
  4.     // Make it move to the Setup Tab not online tab
  5.     var tabObj = topWindow.frames["AimSidebarPanel"].document.getElementById("tabOnline");
  6.     
  7.     tabObj.setAttribute("style","");
  8.     tabObj.setAttribute("selected","false");
  9.  
  10.     tabObj = topWindow.frames["AimSidebarPanel"].document.getElementById("tabSetup");
  11.     //tabObj.setAttribute("style","text-decoration:underline;");
  12.     tabObj.setAttribute("selected","true");
  13.  
  14.     //tabObj.click();
  15.  
  16.     var tabPanel = topWindow.frames["AimSidebarPanel"].document.getElementById("OnlineOrgTabPanel");
  17.     tabPanel.setAttribute("selectedIndex",1);
  18.  
  19.     var parentState = topWindow.document.getElementById("AimSidebarState");
  20.     if(!parentState)
  21.         return;
  22.  
  23.     dump("got parent State\n");
  24.     parentState.setAttribute("AimSidebarTab", "Setup"); 
  25. }
  26.