# 请教一个算法问题

fineboy_2001 2004-09-27 11:58:05

xh id name url bh
3 001001001 asdfasdf asdf 9
4 001001002 asdf asdf 10
5 001001002001 111111111212 sdfsdf 12
6 001001002002 11111113 sdafsdf 11
7 001001002002001 1111111113s sdfsdf 13
8 002 sdfsdaf2211 2222 5
9 002001 sdfsdf11 111 3
10 002003 sdafsda asdf 16
11 003 sdafds asdf 19
12 003001 sdafdsa1 sdaf 17
13 003002 asdf2 sdf 18
14 004 444 dsf 20
15 004001 44411 sdaf 21
16 004002 44422 sdaf 22
18 005001 55511 sdfsdf 24
19 005002 55522 dsafsd 25
20 006 666 safd 26
21 006001 66611 sdaf 27
22 006002 66622 asdf 28
24 007001 7771 sdaf 30
25 009 9999 sdfdsf 32
26 010 1212 sdafsdf 33
27 012 1111 sdfsdf 35
28 012001 dsfsdf 232323 36
29 012002 www sdfdsf 37
///////////////////////////////////////////////////////

<script>
/*建立5个菜单实例对象*/

/*菜单栏*/

/*添加菜单项*/
m1.seperate()//加分隔线
item.enable=false
itemDel.execute=function(){itemDel.remove();}
m1.seperate()//加分隔线

m3.seperate()
m3.seperate()

m4.seperate()
m4.seperate()

m5.seperate()
m5.seperate()

m3.item[1].execute=m4.item[1].execute=m5.item[1].execute=function(){self.history.go(0);}
m3.item[2].execute=m4.item[2].execute=m5.item[2].execute=function()
{
}
m3.item[3].execute=m4.item[3].execute=m5.item[3].execute=function()
{
event.srcElement.style.behavior="url(#default#homepage)";
event.srcElement.setHomePage("http://www.9499.net");
}

/*显示右键菜单*/
{
event.returnValue=false;
}
document.body.onmousedown=function()
{
if(event.button==2)
m3.show();
}

</script>
...全文
62 5 打赏 收藏 举报

5 条回复

whnnet 2004-09-27
• 打赏
• 举报

ouyld 2004-09-27
• 打赏
• 举报

fineboy_2001 2004-09-27
• 打赏
• 举报

to whnnet(赚钱攒嫁妆)

cxz7531 2004-09-27
• 打赏
• 举报

whnnet 2004-09-27
• 打赏
• 举报

For i = 1 To 6
Response.Write "var m" & i & "=new alai_menu_xp()" & vbCrLf
Response.Write "m" & i & .add('xxxxxxxxx')" & vbCrLf
Response.Write "m" & i & .seperate()" & vbCrLf
.................................
Next

8.7w+

Web 开发 JavaScript

2004-09-27 11:58