知识大全 仿Office2003的工具条
Posted 知
篇首语:博观而约取,厚积而薄发。本文由小常识网(cha138.com)小编为大家整理,主要介绍了知识大全 仿Office2003的工具条相关的知识,希望对你有一定的参考价值。
仿Office2003的工具条 以下文字资料是由(全榜网网www.cha138.com)小编为大家搜集整理后发布的内容,让我们赶快一起来看一下吧!
<><head><meta equiv= Content Language content= zh cn ><meta equiv= Content Type content= text/; charset=gb ><title>仿Office 的工具条</title><script>/* 舜子制作Menu Javascript Made by PuterJamE mail: */ var listnum= ; var menu_height; var menu_width; var menu_left; var menu_top; var topMar = ; var leftMar = ; var space = ; var isvisible;
function listbox(listname buttonname valuename)this listname=listnamethis buttonname=buttonnamethis valuename=valuename
function listaction(obj action showlist scroll )num=obj id charAt(obj id length )if (!scroll) scroll= if (!) = listbox=eval(lb[num] listname)listbutton=eval(lb[num] buttonname)listvalue=eval(lb[num] valuename)switch (action) case : listbox className= getlist ;listbutton className= listover break; case : if (listbox gf== ) listbox className= lostlist ;listbutton className= menubar break; case : for (i= ;i<lb length;i++) if (num!=i toString()) nlistbox=eval(lb[i] listname) nlistbutton=eval(lb[i] buttonname) nlistvalue=eval(lb[i] valuename) nlistbox className= lostlist ;nlistbutton className= menubar nlistbox gf= ShowMenu(listbox showlist scroll);listbox className= getlist ;listbox gf= listnum=num; break;
function HideMenu() var mX; var mY; var vDiv; var mDiv; if (isvisible == true) vDiv = document all( listDiv ); mX = window event clientX + document body scrollLeft; mY = window event clientY + document body scrollTop; if ((mX < parseInt(vDiv style left)) || (mX > parseInt(vDiv style left)+vDiv offsetWidth) || (mY < parseInt(vDiv style top) menu_height) || (mY > parseInt(vDiv style top)+vDiv offsetHeight)) vDiv style visibility = hidden ; isvisible = false; if (isvisible==false) for (i= ;i<lb length;i++) listbox=eval(lb[i] listname) listbutton=eval(lb[i] buttonname) listvalue=eval(lb[i] valuename) listbox className= lostlist ;listbutton className= menubar listbox gf=
function ShowMenu(obj vMnuCode tWidth scroll) vMnuCode = <table id= submenu cellspacing= cellpadding= bgcolor=#ffffff border= style= width: +tWidth + ;border collapse: collapse class= listDiv ><tr height= ><td nowrap align=left> + vMnuCode + </td></tr></table> ;
menu_height = obj offsetHeight; menu_width = obj offsetWidth; menu_left = obj offsetLeft + leftMar+ ; menu_top = obj offsetTop + topMar + menu_height + space ; vParent = obj offsetParent; while (vParent tagName toUpperCase() != BODY ) menu_left += vParent offsetLeft; menu_top += vParent offsetTop; vParent = vParent offsetParent;
listDiv innerHTML = vMnuCode; listDiv style top = menu_top; listDiv style left = menu_left;
if (scroll== ) listDiv style overflow= visible ;listDiv style width=tWidthelse listDiv style overflow= scroll ;listDiv style width=tWidth+ listDiv style visibility = visible ; var cssopaction=submenu filters[ ] opacity submenu filters[ ] opacity= ; submenu filters[ ] Apply(); submenu filters[ ] opacity= ; submenu filters[ ] Play();
isvisible = true;
function menuitem(lightcolor normalcolor icon title url)this lightcolor=lightcolorthis normalcolor=normalcolorthis icon=iconthis title=titlethis url=url
function bulidmenu(arrayname)var menuarray=eval(arrayname)menucontent= <table border= width= % > for (i= ;i<menuarray length;i++)if (menuarray[i] title!= _line )if (menuarray[i] url!= _disable )css= getitem elsecss= lostitem if (menuarray[i] icon length== )content= <table cellspacing= cellpadding= ><tr><td class= +css+ > +menuarray[i] title+ </td></tr></table> elsecontent= <table cellspacing= cellpadding= ><tr><td width= 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= onmouseover= style backgroundColor=\\ + menuarray[i] lightcolor+ \\ onmouseout= style backgroundColor=\\ + menuarray[i] normalcolor+ \\ onclick= Golist(\\ +menuarray[i] title+ \\ ) > +content+ </td></tr> elsemenucontent=menucontent+ <tr><td height= > +content+ </td></tr>
elsemenucontent=menucontent+ <tr><td height= ><img src= images/dock gif width= % height= ></td></tr>
menucontent=menucontent+ </table> return menucontent
function HL_Menu(obj state)switch (state)case : obj className= menuover break;case : obj className= menuup break; var lb=new Array()lb[ ]=new listbox( listbox listbutton listvalue )lb[ ]=new listbox( listbox listbutton listvalue ) var list =new Array()list [ ]=new menuitem( #B CBE ListItem )list [ ]=new menuitem( #B CBE ListItem )list [ ]=new menuitem( #B CBE ListItem )list [ ]=new menuitem( #B CBE ListItem )list [ ]=new menuitem( #B CBE ListItem )list [ ]=new menuitem( #B CBE ListItem )list [ ]=new menuitem( #B CBE ListItem )list [ ]=new menuitem( #B CBE ListItem )list [ ]=new menuitem( #B CBE ListItem )list [ ]=new menuitem( #B CBE ListItem )
blist =bulidmenu( list )
var list =new Array()list [ ]=new menuitem( #B CBE 字体 )list [ ]=new menuitem( #B CBE 字体 )list [ ]=new menuitem( #B CBE 字体 )list [ ]=new menuitem( #B CBE 字体 )list [ ]=new menuitem( #B CBE 字体 )list [ ]=new menuitem( #B CBE 字体 )list [ ]=new menuitem( #B CBE 字体 )list [ ]=new menuitem( #B CBE 字体 )list [ ]=new menuitem( #B CBE 字体 )list [ ]=new menuitem( #B CBE 字体 )
blist =bulidmenu( list )function Golist(text)listvalue=eval(lb[listnum] valuename)listvalue innerText=textvDiv = document all( listDiv );vDiv style visibility = hidden ;isvisible = false; </script>
<style> lostfocus border: px #ffffff solid; background color: #ffffff; font size: px; font family: Arial; getfocus border: px # B solid;background color: #ffffff; font family: Arial; font size: px;
.listover BACKGROUND-COLOR: #B5BED6; BORDER-left:1px solid #08246B.listDiv filter: alpha(opacity=90,finishopacity=0,style=0) blendtrans(duration=.3);
</style></head>
<body onclick="HideMenu()" bgcolor="999999"><div id=listDiv style=\'border:1px #636563 solid;VISIBILITY: hidden;POSITION: absolute;overflow:scroll;height:150\'></div><table border=0 width=100% id="table27" cellspacing="0" cellpadding="0"> <tr> <td><table border=0 cellspacing="0" cellpadding="0" height=30> <tr> <td><table border=0 cellspacing="0" cellpadding="0" height=22> <tr> <td width=5></td> <td nowrap align=center onmouseover="HL_Menu(this,0)" onmouseout="HL_Menu(this,1)" > <table border=0 cellspacing="0" cellpadding="0"><tr><td >文件(F)</td></tr></table> </td> <td width=5></td> <td nowrap align=center onmouseover="HL_Menu(this,0)" onmouseout="HL_Menu(this,1)" > <table border=0 cellspacing="0" cellpadding="0"><tr><td >编辑(E)</td></tr></table> </td> </tr> </table></td> </tr></table> </td> </tr> <tr> <td><table border=1 width=100 id="table28" cellspacing="0" cellpadding="4" bgcolor="#F7F7F7" > <tr> <td > <table border=0 width=100% id="table29" cellspacing="0" cellpadding="0"> <tr> <td width=10 nowrap> <table border=0 width=2 cellspacing="0" cellpadding="1" id="table30"> <tr> <td><img height=1 width=1></td> </tr> <tr> <td><img height=1 width=1></td> </tr> <tr> <td><img height=1 width=1></td> </tr> <tr> <td><img height=1 width=1></td> </tr> </table></td> <td width=35 nowrap><font size="2">姓名</font></td> <td width=130 nowrap> <input type=text name=T5 size="18" gf="0" onmouseover=\'this.className="getfocus"\' onmouseout=\'if (this.gf=="0") this.className="lostfocus"\' onblur=\'this.className="lostfocus";this.gf="0"\' onfocus=\'this.className="getfocus";this.gf="1"\'></td> <td width=35 nowrap><font size="2">密码</font></td> <td width=124 nowrap> <input type=password name=T6 size="18" gf="0" onmouseover=\'this.className="getfocus"\' onmouseout=\'if (this.gf=="0") this.className="lostfocus"\' onblur=\'this.className="lostfocus";this.gf="0"\' onfocus=\'this.className="getfocus";this.gf="1"\'></td> <td width=5 nowrap><img height=14 width=0></td> <td nowrap align=center onmouseover="HL_Menu(this,0)" onmouseout="HL_Menu(this,1)" > <table cellspacing="0" cellpadding="0" id="table31" width=25><tr><td nowrap></td><td > 登陆</td></tr></table> </td> <td width=100% nowrap> </td> </tr> </table> </td> </tr></table>
</td> </tr> <tr> <td>
cha138/Article/program/Java/JSP/201311/19729相关参考
office用哪个版本好用office还是看个人操作习惯很多人比较守旧,就用的习惯2003从2007开始,界面改动挺大的目前最新版是office2013建议你还是用office2007,因为2010开
遂宁到自贡汽车时间价格!在线等待!急!遂宁到自贡在汽车南站坐车,上午8点25,下午2点40,我前两天刚坐过哈急,office2003打不开了,在线等解决办法建议你把office2003卸载下,最好下载
在大学,该学习哪些工具软件看自己专业和兴趣爱好吧,office的都可以学学,还有ps也不错。大学该学习哪些软件的应用?最基本的office是应该要学的。。PS什么的。可以看个人爱好了。其他的话。看自己
知识大全 excel下面sheet和就绪栏都不见了,怎么找回
excel下面sheet和就绪栏都不见了,怎么找回?呵呵,楼主发现他们回答的都是office2003的方法吧。妹的,刚才我碰到这个问题,上网一看全是欠揍的回答,2010版本能看到工具?选项?我自己的解
动态菜单项状态条提示工具条提示问题赵湘宁本文例子代码问题的提出 一个应用程序想要动态改变菜单项使用CCmdUI::SetText("MenuText")可
基于Eclipse的工具开发:关于工具条路径[2] 以下文字资料是由(全榜网网www.cha138.com)小编为大家搜集整理后发布的内容,让我们赶快一起来看一下吧!&
基于Eclipse的工具开发:关于工具条路径[1] 以下文字资料是由(全榜网网www.cha138.com)小编为大家搜集整理后发布的内容,让我们赶快一起来看一下吧!&
◆仿实木效果吊顶传统的吊顶做法施工工艺复杂,且造价较高。目前比较流行的一种吊顶方法是用实木条吊顶,造价也很高。而仿实木效果吊顶是直接在吊顶的面板上镂槽(底层需要铺底板),形成实木条的形状,然后再刷哑光
VC++环境下浮动工具条的编程 以下文字资料是由(全榜网网www.cha138.com)小编为大家搜集整理后发布的内容,让我们赶快一起来看一下吧!  
word2003为何只能打开一个文档?打开新的文档后原先打开的为何文档窗口就没了工具--选项--视图--显示,启动任务窗格,去勾,任务栏中的窗口,勾选wps能打开word2003文档吗可以的,wps必