• PUDN用户
    了解作者
  • Java
    开发工具
  • 14KB
    文件大小
  • zip
    文件格式
  • 0
    收藏次数
  • 1 积分
    下载积分
  • 13
    下载次数
  • 2009-11-24 11:21
    上传日期
js outlookbar仿qq菜单仿qq菜单仿qq菜单
outlookbar.zip
  • news.gif
    368B
  • main.html
    4.6KB
  • index.html
    971B
  • arrowup.gif
    407B
  • outlook.js
    26.6KB
  • arrowdown.gif
    424B
  • mail.gif
    369B
  • netm.gif
    414B
  • outlook.html
    3.7KB
  • crossbrowser.js
    4.6KB
  • word.gif
    366B
  • peditor.gif
    450B
内容介绍
<HTML> <!-- --------------------------------------------------------------------------- this script is copyright (c) 2001 by Michael Wallner! http://www.wallner-software.com mailto:dhtml@wallner-software.com you may use this script on web pages of your own you must not remove this copyright note! This script featured on Dynamic Drive (http://www.dynamicdrive.com) Visit http://www.dynamicdrive.com for full source to this script and more --------------------------------------------------------------------------- --> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html;CHARSET=iso-8859-1"> <TITLE>HowTo:</TITLE> </HEAD> <BODY leftmargin=10 topmargin=0 marginwidth=10 marginheight=0> <BR> <B>HowTo:</B> Build Outlook Like Bar seen on left hand...<HR><BR><BR> <PRE> &lt;script language="JavaScript" src="crossbrowser.js" type="text/javascript"&gt; &lt;/script&gt; &lt;script language="JavaScript" src="outlook.js" type="text/javascript"&gt; &lt;/script&gt; &lt;SCRIPT&gt; <SPAN style="color:darkgreen"> // --------------------------------------------------------------------------- // Example of howto: use Outlook Like Bar // --------------------------------------------------------------------------- //create OutlookBar-Object: // Name // x-position // y-Position // width // height // background-color // page background-color (needed for OP5) //(screenSize object is created by 'crossbrowser.js') // </SPAN> var o = new createOutlookBar('Bar',0,0,screenSize.width,screenSize.height,'#606060','white') // OutlookBar var p <SPAN style="color:darkgreen"> //create first panel..</SPAN> p = new createPanel('al','Anwendungen'); <SPAN style="color:darkgreen"> //add buttons: // image name // label text // onClick JavaScript code // </SPAN> p.addButton('netm.gif','Netmanage','alert("NetM")'); p.addButton('news.gif','News','alert("News")'); p.addButton('word.gif','Word','alert("Word")'); p.addButton('peditor.gif','Editor','alert("Editor")'); p.addButton('mail.gif','Mail','alert("Mail")'); o.addPanel(p); <SPAN style="color:darkgreen"> //create second panel...</SPAN> p = new createPanel('p','Postf�cher'); p.addButton('mail.gif','Mail 2','alert("Mail2")'); p.addButton('peditor.gif','Personal&lt;BR&gt;Editor','alert("Personal Editor")'); p.addButton('word.gif','Projekte','alert("Projekte")'); p.addButton('news.gif','Adresse','alert("Adresse")'); p.addButton('mail.gif','Postausgang','alert("Postausgang")'); p.addButton('mail.gif','Posteingang','alert("Posteingang")'); p.addButton('news.gif','Information aus&lt;BR&gt;erster Hand','alert("Infos")'); p.addButton('peditor.gif','Gelbe Post','alert("Gelbe Post")'); p.addButton('word.gif','Schreiben','alert("Schreiben")'); o.addPanel(p); <SPAN style="color:darkgreen"> //create two empty panels...</SPAN> p = new createPanel('l','Leeres Panel'); o.addPanel(p); p = new createPanel('l2','Leeres Panel 2'); o.addPanel(p); o.draw(); <SPAN style="color:darkgreen">//draw the Outlook Like Bar!</SPAN> <SPAN style="color:darkgreen"> //----------------------------------------------------------------------------- //functions to manage window resize //----------------------------------------------------------------------------- //resize OP5 (test screenSize every 100ms)</SPAN> function resize_op5() { if (bt.op5) { o.showPanel(o.aktPanel); var s = new createPageSize(); if ((screenSize.width!=s.width) || (screenSize.height!=s.height)) { screenSize=new createPageSize(); //need setTimeout or resize on window-maximize will not work correct! //ben�tige das setTimeout oder das Maximieren funktioniert nicht richtig setTimeout("o.resize(0,0,screenSize.width,screenSize.height)",100); } setTimeout("resize_op5()",100); } } <SPAN style="color:darkgreen">//resize IE & NS (onResize event!)</SPAN> function myOnResize() { if (bt.ie4 || bt.ie5 || bt.ns5) { var s=new createPageSize(); o.resize(0,0,s.width,s.height); } else if (bt.ns4) location.reload(); } &lt;/SCRIPT&gt; &lt;/head&gt; <SPAN style="color:darkgreen">&lt;!-- need an onResize event to redraw outlookbar after pagesize changes! --&gt; &lt;!-- OP5 does not support onResize event! use setTimeout every 100ms --&gt;</SPAN> &lt;body onLoad="resize_op5();" onResize="myOnResize();"&gt; </PRE> <BR><BR><BR> </BODY> </HTML>
评论
    相关推荐
    • qpopper2.53.tar.Z
      pop3 server
    • imap-4.7.tar.Z
      被广泛使用的email服务器 /IMAPD/POPD
    • 53308459Add_Dlt_TabCtrl.rar
      Tab分页的删除和添加,实现分页动态的管理。
    • ns-allinone-2.33.tar.gz
      ns2.33这是目前比较新的ns2版本,欢迎下载
    • NetVideoActiveX23.rar
      海康威视 网络监控插件 带有例子 和开发的dll文件,非常易用
    • UR054g_(R01).zip
      法国inventel的ur054g(r01)v1.1的无线网卡驱动。
    • eat.rar
      外卖叫餐系统,采用ACCESS数据库,有完整天的后台管理系统
    • KSTVTUNE.ZIP
      装摄像头驱动需要用到的文件。Microsoft DirectX 9 SDK
    • Skin++.rar
      知名的Skin++界面库,内含所有库文件和大量皮肤文件.该库使用方便,可以减少您美化程序的痛苦.本版是破解版,没有注册提示.但只供学习研究使用哦,不要用在商业用途.
    • DLL函数查看器V2.0.rar
      DLL函数查看器V2.0 可以看看dll里导出地函数