关于xMenu构建树型目录的问题

HappyDelphiGirl 2005-04-12 08:35:13
我在存储过程中生成的JavaScript代码如下:
<script type="text/javascript">
webfxMenuImagePath = "images/";
var myBar = new WebFXMenuBar;

var MENU_1 = new WebFXMenu;
myBar.add(new WebFXMenuButton("通用操作", null, "为所有操作员操作均能使用的动作", MENU_1));
var MENU_2 = new WebFXMenu;
MENU_2.add(new WebFXMenuItem("复制", "javascropt:parent.clientFrame.location.href=?fid=3", "Copy"));
MENU_2.add(new WebFXMenuItem("粘贴", "javascropt:parent.clientFrame.location.href=?fid=4", "Paste"));
MENU_2.add(new WebFXMenuItem("剪切", "javascropt:parent.clientFrame.location.href=?fid=5", "Cut"));
myBar.add(new WebFXMenuButton("编辑", null, "EDIT", MENU_2));
</script>
请问为何无法显示呢?
...全文
128 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
Forbes 2005-04-13
  • 打赏
  • 举报
回复
myBar.writeMenu();//有相应的方法的
fantiny 2005-04-13
  • 打赏
  • 举报
回复
你只是生成了WebFXMenuBar其中的属性,但是显示部分的代码没有。

WebFXMenuBar显示部分的代码在哪里呢?

87,922

社区成员

发帖
与我相关
我的任务
社区描述
Web 开发 JavaScript
社区管理员
  • JavaScript
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧