main.jsp
上传用户:kimgenplus
上传日期:2016-06-05
资源大小:20877k
文件大小:5k
- <%@ page language="java" contentType="text/html; charset=GB18030"
- pageEncoding="GB18030"%>
- <%@include file="/common/common.jsp" %>
- <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>
- <script language="JavaScript" src="crossbrowser.js" type="text/javascript">
- </script>
- <script language="JavaScript" src="outlook.js" type="text/javascript">
- </script>
- <SCRIPT>
- <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