仿Office 2003的工具条
if (menuarray[i].icon.length==0)
{
content='<table cellspacing="0" cellpadding="0"><tr><td style="text-indent:4px" class="' css '">' menuarray[i].title '</td></tr></table>'
}
else
{
content='<table cellspacing="0" cellpadding="0"><tr><td width="20" nowrap><img src="' menuarray[i].icon '"></td><td class="' css '">' menuarray[i].title '</td></tr></table>'
}
if (menuarray[i].url!="_disable"){
menucontent=menucontent '<tr><td height=16 style="cursor:default" onmouseover="style.backgroundColor=\'' menuarray[i].lightcolor '\'" onmouseout="style.backgroundColor=\'' menuarray[i].normalcolor '\'" onclick="Golist(\'' menuarray[i].title '\')">' content '</td></tr>'
}
else
{
menucontent=menucontent '<tr><td height=16 style="fitler:gray">' content '</td></tr>'
} 织梦内容管理系统
}
else
{
menucontent=menucontent '<tr><td height=4><img src="images/dock.gif" width="99%" height=1></td></tr>'
} copyright dedecms
}
menucontent=menucontent "</table>"
return menucontent
}
function HL_Menu(obj,state)
{
switch (state)
{
case 0:
obj.className="menuover"
break;
case 1:
obj.className="menuup"
break;
}
}
var lb=new Array()
lb[0]=new listbox('listbox0','listbutton0','listvalue0')
lb[1]=new listbox('listbox1','listbutton1','listvalue1')
var list1=new Array()
list1[0]=new menuitem("#B1CBE4","","","ListItem1","")
list1[1]=new menuitem("#B1CBE4","","","ListItem2","")
list1[2]=new menuitem("#B1CBE4","","","ListItem3","")
list1[3]=new menuitem("#B1CBE4","","","ListItem4","")
list1[4]=new menuitem("#B1CBE4","","","ListItem5","")
list1[5]=new menuitem("#B1CBE4","","","ListItem6","")
list1[6]=new menuitem("#B1CBE4","","","ListItem7","")
list1[7]=new menuitem("#B1CBE4","","","ListItem8","")
list1[8]=new menuitem("#B1CBE4","","","ListItem9","")
文章评论
共有位Admini5网友发表了评论 查看完整内容