Javascript专栏
文章平均质量分 60
grace_yan
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
漂亮的仿flash菜单,来自蓝色经典
/* 先把这个 xmenu 的样式放到css里 */.xmenu td{font-size:12px;font-family:verdana,arial;font-weight:bolder;color:#ffffff;border:1px solid #336699;background:#336699;filter:blendtrans(duration=0.5);cursor:hand;t原创 2006-07-03 14:45:00 · 751 阅读 · 0 评论 -
文字幻灯片交替效果
http://www.w3.org/1999/xhtml">51du.cn-代码演示专用页面.trans {filter:revealTrans(Transition=12,Duration=2)}Text = new Array( "班级留言“说”出口,校友录开通语音留言服务", "星级会员新体验,享受无广告的清新校友录", "星级会员免费多彩留言,表情,贴图,个性无限...", "星级会员免原创 2006-07-03 14:55:00 · 815 阅读 · 0 评论 -
新闻图片交替代码
/* 全局CSS定义 */body { text-align: center; margin:0; padding:0; background: #FFF; font-size:12px; color:#000;}div,form,img,ul,ol,li,dl,dt,dd {margin: 0; padding: 0; border: 0;}h1,h2,h3,h4,h5,h6 { margin原创 2006-07-03 14:52:00 · 1904 阅读 · 0 评论 -
凹陷文字
怎么样,我凹下去了吧?你不想试试吗?www.lenvo.cnhttp://www.lenvo.cn/">www.lenvo.cn>原创 2006-07-03 14:43:00 · 524 阅读 · 0 评论 -
经典的带阴影的可拖动的浮动层
MyPixbotfunction MM_reloadPage(init) { //reloads the window if Nav4 resized if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) { document.MM_pgW=innerWidth;原创 2006-07-03 14:30:00 · 594 阅读 · 0 评论 -
客户端静态页面玩分页
New Document * { font-size:10.2pt; font-family:tahoma; line-height:150%;}.divContent{ border:1px solid red; background-color:#FFD2D3; width:500px; word-break:break-all; margin:10px 0px 10px; padding:原创 2006-07-03 14:28:00 · 653 阅读 · 0 评论 -
DIV_圆边圆角的实现
v/:*{behavior: url(#default#VML);}原创 2006-07-03 14:25:00 · 814 阅读 · 0 评论 -
漂亮的脚本日历
var months = new Array("一", "二", "三","四", "五", "六", "七", "八", "九","十", "十一", "十二"); var daysInMonth = new Array(31, 28, 31, 30, 31, 30, 31, 31,30, 31, 30, 31); var days = new Array("日","一", "二", "三",原创 2006-07-03 14:20:00 · 531 阅读 · 0 评论 -
很多的脚本翻页
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">http://www.w3.org/1999/xhtml"> JavaScript: showPages v1.0 [by Lapuasi.com]/*showPages v1.1=================================Infomation------原创 2006-07-03 14:14:00 · 701 阅读 · 0 评论 -
如果文字过长,则将过长的部分变成省略号显示
DIV STYLE="width: 120px; height: 50px; border: 1px solid blue; overflow: hidden; text-overflow:ellipsis"> 就是比如有一行文字,很长,表格内一行显示不下.原创 2006-07-03 14:06:00 · 674 阅读 · 0 评论 -
鼠标旁边的提示信息,类似与163登录后的页面提示效果
tip //***********默认设置定义.********************* tPopWait=50;//停留tWait豪秒后显示提示。 tPopShow=5000;//显示tShow豪秒后关闭提示 showPopStep=20; popOpacity=99; //***************内部变量定义***************** sPop=null; curShow=n原创 2006-07-03 14:02:00 · 578 阅读 · 0 评论 -
锁定表列
锁定表格栏位范例网页BODY { FONT: 12px 细明体; CURSOR: default}TD { FONT: 12px 细明体; CURSOR: default}.title { BORDER-RIGHT: #555 1px solid; PADDING-RIGHT: 4px; BORDER-TOP: #fff 1px solid; PADDING-LEFT: 4px;原创 2006-07-03 15:01:00 · 792 阅读 · 0 评论 -
隐藏下拉菜单代码
New Page 28#ssm2 A { FONT-SIZE: 12px; COLOR: #808080; FONT-FAMILY: verdana; TEXT-DECORATION: none}#ssm2 A:hover { COLOR: #ccff33}body{background:url(http://www.infowe.com/images/infowe.gif) no-repeat原创 2006-07-03 14:48:00 · 3478 阅读 · 1 评论 -
一个非常不错的loading 效果
无标题文档var NUMBER_OF_REPETITIONS = 40;var nRepetitions = 0;var g_oTimer = null;function startLongProcess(){ divProgressDialog.style.display = ""; resizeModal(); btnCancel.focus(); // A原创 2006-07-03 14:57:00 · 729 阅读 · 0 评论
分享