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

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

 2008-02-15 17:58:52 来源:WEB开发网   
核心提示:+proto.menuBorder; var focusItem = body.document.layers[n]; focusItem.clip.width = body.clip.width; focusItem.Menu = l.Menu; focusItem.top = -30; focusItem.capt
+proto.menuBorder;
      var focusItem = body.document.layers[n];
      focusItem.clip.width = body.clip.width;
      focusItem.Menu = l.Menu;
      focusItem.top = -30;
      focusItem.captureEvents(Event.MOUSEDOWN);
      focusItem.onmousedown = onMenuItemDown;
      menu.document.bgColor = proto.menuBorderBgColor;
      var lite = menu.document.layers[0];
      lite.document.bgColor = proto.menuLiteBgColor;
      lite.clip.width = body.clip.width +1;
      lite.clip.height = body.clip.height +1;
      menu.clip.width = body.clip.width + (proto.menuBorder * 3) ;
      menu.clip.height = body.clip.height + (proto.menuBorder * 3);
    }
  } else {
    if ((!document.all) && (container.hasChildNodes)) {
      container.innerHTML=content;
    } else {
      container.document.open("text/html");
      container.document.writeln(content);
      container.document.close();   
    }
    if (!FIND("menuLayer0")) return;
    var menuCount = 0;
    for (var x=0; x<container.menus.length; x++) {
      var menuLayer = FIND("menuLayer" + x);
      container.menus[x].menuLayer = "menuLayer" + x;
      menuLayer.Menu = container.menus[x];
      menuLayer.Menu.container = "menuLayer" + x;
      menuLayer.style.zIndex = 1;

1 2 3 4 5 6  下一页

Tags:BBS php mysql

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