WEB开发网
开发学院WEB开发PHP BBS(php & mysql)完整版(六) 阅读

BBS(php & mysql)完整版(六)

 2008-02-15 17:58:52 来源:WEB开发网   
核心提示:var top = PxToNum(l.style.top) + PxToNum(menuLayer.style.top) + l.Menu.menuItemHeight/3; var left = (PxToNum(menuLayer.style.width)) + PxToNum(menuLayer.style.l

        var top = PxToNum(l.style.top) + PxToNum(menuLayer.style.top) + l.Menu.menuItemHeight/3;
        var left = (PxToNum(menuLayer.style.width)) + PxToNum(menuLayer.style.left) -5;
        s.top = top;
        s.left = left;
      }
      childMenu.style.visibility = "inherit";
    } else {
      return;
    }
    window.activeMenus[window.activeMenus.length] = childMenu;
  }
}

function hideActiveMenus() {
  if (!window.activeMenus) return;
  for (var i=0; i < window.activeMenus.length; i++) {
    if (!activeMenus[i]) continue;
    if (activeMenus[i].visibility && activeMenus[i].Menu) {
      activeMenus[i].visibility = "hidden";
      activeMenus[i].Menu.container.visibility = "hidden";
      activeMenus[i].Menu.container.clip.left = 0;
    } else if (activeMenus[i].style) {
      var s = activeMenus[i].style;
      s.visibility = "hidden";
      s.left = -200;
      s.top = -200;
    }
  }
  if (window.ActiveMenuItem) {
    hideMenu(false, false);
  }
  window.activeMenus.length = 0;

上一页  7 8 9 10 11 12 

Tags:BBS php mysql

编辑录入:coldstar [复制链接] [打 印]
赞助商链接