| javascript制作浮动的工具条 |
|
作者:网络 文章来源:转载 点击数: 更新时间:2006-1-19 |
| [ 字体:缩小 正常 放大 | 双击自动滚屏 ] |
请选择合适的字体颜色:
|
|
该程序是我从别人的网站上分析出来的!由于对方的网站使用了框架,而且又取消了鼠标的右键功能,因此费了好长时间! 当你浏览该页时,工具条始终浮在左上角,你若不喜欢,可以自己调节摆放位置!若想多页使用该代码,可以把JSP程序部分写成JS的文件,然后再通过调用来实现,有不明白的地方,欢迎各位与我交流! 演示地址:http://www.85time.com/softuse/bar.htm <HTML> <HEAD> <TITLE></TITLE> <META http-equiv="Content-Type" content="text/html; charset=gb2312"> <STYLE type="text/css"> .wdBlack{ font-size:9pt; line-height:11pt; font-family:宋体; color:black } .wdGray{ font-size:9pt; line-height:11pt; font-family:宋体; color:#CCCCCC } .wdBlue{ font-size:9pt; line-height:11pt; font-family:宋体; color:#2F8BDF } .wdRed{ font-size:9pt; line-height:11pt; font-family:宋体; color:red } .wdWhite{ font-size:9pt; line-height:11pt; font-family:宋体; color:white } .moveme{cursor: move;} .handle{cursor: move;} .coolBar{background: #fffffc;border-top: 1px solid buttonhighlight; border-left: 1px solid buttonhighlight; border-bottom: 1px solid buttonshadow; border-right: 1px solid buttonshadow; padding: 2px; font: menu;} .coolButton{font-size:9pt;border: 1px solid buttonface; padding: 1px; text-align: center; cursor: hand;color:#555555} .coolButton IMG {filter: gray();} div{ font-size:9pt; line-height:11pt; font-family:宋体; color:black } Text{ font-size:9pt; line-height:11pt; font-family:宋体; color:black } INPUT{ font-size:9pt; line-height:11pt; font-family:宋体; color:black } table{ font-size:9pt; line-height:11pt; font-family:宋体; color:black } body{ font-size:9pt; line-height:11pt; font-family:宋体; color:black } form{ font-size:9pt; line-height:11pt; font-family:宋体; color:black }
A:link{ font-size:9pt; font-family:宋体; text-decoration: none; color:#2F8BDF } A:visited{ font-size:9pt; font-family:宋体; text-decoration: none; color:#2F8BDF } A:hover{ font-size:9pt; font-family:宋体; text-decoration: underline; color:#FF0000 } </STYLE>
<script language="javascript">[1] [2] [3] [4] [5] [6] 下一页
|
|
| 文章录入:54iter 责任编辑:54iter |
上一篇文章: javascript设计漫天雪花 下一篇文章: javascript制作闪烁的边框 |
| 【发表评论】【加入收藏】【告诉好友】【打印此文】【关闭窗口】 |