Terry's blog

Focus on bigdata and cloud.

博客园 首页 新随笔 联系 订阅 管理

随笔分类 -  JavaScript

1 2 下一页

摘要:实现思想:在页面内放入一个Div,调用lable的onMouseover,onMouseout 事件,然后用JS去实现显示部分内容在原有位置还是显示全部内容在Div中。 后台代码: stringanswer=e.Row.Cells[10].Text;if(answer.Length>5){e.Row.Cells[10].Text=string.Format("<labelonMouseover=\"ddrivetip('{0}','#FFFFE1',300)\"onMouseout='hideddrivetip( 阅读全文
posted @ 2011-03-11 09:52 王晓成 阅读(2238) 评论(0) 推荐(0) 编辑

摘要:概述: 浏览器的状态栏里出现一个字接一个字往左跑的欢迎语!。 代码: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 1 67 阅读全文
posted @ 2008-09-24 17:20 王晓成 阅读(300) 评论(0) 推荐(0) 编辑

摘要:概述: 给页面加保护,防止右击复制 代码: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 仅供浏览!谢谢!\n\n若有问题请与我联系 阅读全文
posted @ 2008-09-24 17:15 王晓成 阅读(396) 评论(0) 推荐(1) 编辑

摘要:概述: 在网页源代码中加入下面的代码,则该窗口将在20秒钟之后自动关闭!这与跳出式小窗口配合使用是再好不过啦!代码中“i=20”表示关闭的延迟时间为20秒,可任意修改。 代码: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->... 阅读全文
posted @ 2008-09-24 17:11 王晓成 阅读(424) 评论(0) 推荐(0) 编辑

摘要:概述: 点击即可把你的网站设置为浏览器的起始页。 代码: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->设为首页 阅读全文
posted @ 2008-09-24 17:03 王晓成 阅读(356) 评论(2) 推荐(0) 编辑

摘要:概述: 点击即可把你的网站添加到浏览器的收藏菜单下。 代码: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->收藏本站 阅读全文
posted @ 2008-09-24 17:00 王晓成 阅读(287) 评论(0) 推荐(0) 编辑

摘要:概述: 让屏幕抖动一阵。 代码: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 阅读全文
posted @ 2008-09-24 16:52 王晓成 阅读(423) 评论(0) 推荐(0) 编辑

摘要:概述: 点击鼠标右键,收藏夹就会自动打开,也等于是禁止了右键。 代码: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 阅读全文
posted @ 2008-09-24 16:48 王晓成 阅读(342) 评论(0) 推荐(0) 编辑

摘要:概述: 年月日都是用全中文显示。 代码: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 结果: 公元二零零三年九月二十四日 阅读全文
posted @ 2008-09-24 16:42 王晓成 阅读(295) 评论(0) 推荐(0) 编辑

摘要:概述: 有影子的时钟。 代码: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 阅读全文
posted @ 2008-09-24 16:41 王晓成 阅读(326) 评论(0) 推荐(0) 编辑

摘要:概述: 显示你在本站停留的时间。 代码: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->您在本站逗留了 结果: 您在本站逗留了 阅读全文
posted @ 2008-09-24 16:38 王晓成 阅读(305) 评论(0) 推荐(0) 编辑

摘要:概述: 六种风格时间显示。 代码: Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 效果: 风格一: 星期三,9月24日,2008年 ... 阅读全文
posted @ 2008-09-24 16:35 王晓成 阅读(406) 评论(0) 推荐(0) 编辑

摘要:概述: 显示访客的浏览器类型。 代码: Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 结果: 我猜,你的浏览器是Microsoft Internet Explorer,对不对? 阅读全文
posted @ 2008-09-24 16:28 王晓成 阅读(226) 评论(0) 推荐(0) 编辑

摘要:概述: 显示访客的屏幕分辨率 代码: Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 结果: 我猜,你的屏幕分辨率是1024x768,对不对? 阅读全文
posted @ 2008-09-24 16:26 王晓成 阅读(302) 评论(0) 推荐(0) 编辑

摘要:Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 阅读全文
posted @ 2008-09-24 16:22 王晓成 阅读(175) 评论(0) 推荐(0) 编辑

摘要:概述: 跟随页面弹出的窗口在规定时间内自动关闭,而且不作任何提示。 功能: 注意看弹出的那个窗口,它将在10秒钟后自动关闭! 代码: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 然后,在相同目录下新建一个popup.h... 阅读全文
posted @ 2008-09-24 16:22 王晓成 阅读(524) 评论(0) 推荐(0) 编辑

摘要: 阅读全文
posted @ 2008-09-24 16:14 王晓成 阅读(613) 评论(0) 推荐(0) 编辑

摘要:概述: 想在后台cs页面得到前台页面aspx中html控件input输入的值. 解决方法如下: 1.用Request["name"].toString();. 前台代码如下: Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->... 阅读全文
posted @ 2008-09-05 09:51 王晓成 阅读(1829) 评论(5) 推荐(1) 编辑

摘要:JavaScript验证正则表达式大全 匹配中文字符的正则表达式: [\u4E00-\uFA29] 评注:匹配中文还... 阅读全文
posted @ 2008-07-16 16:34 王晓成 阅读(658) 评论(0) 推荐(0) 编辑

摘要:判断浏览器类型 阅读全文
posted @ 2008-04-08 14:08 王晓成 阅读(6648) 评论(0) 推荐(0) 编辑

1 2 下一页
点击右上角即可分享
微信分享提示