上一页 1 ··· 128 129 130 131 132 133 134 135 136 ··· 164 下一页
摘要: jquery 自定义方法2011-11-24 19:13方法一: jQuery.fn.setApDiv=function () { //apDiv浮动层显示位置居中控制 var wheight=$(window).height(); var wwidth=$(window).width(); var apHeight=wheight-$("#apDiv").height(); var apWidth=wwidth-$("#apDiv").width(); $("#apDiv").css("top",apHeight 阅读全文
posted @ 2011-12-22 09:05 火腿骑士 阅读(205) 评论(0) 推荐(0) 编辑
摘要: 做网站时要实现一个功能,就是定时刷新由客人自己下的在线预定订单,然后提醒她们及时处理,正好jquery.messager.js可以帮我们轻松实现此功能,通过定时查询数据库记录,并通过消息插件弹出提醒她们!~~ 首先下载插件:http://files.cnblogs.com/qiantuwuliang/jquery.messager.rar,可以查看压缩包里的demo.htm文件,来了解怎么使用此插件!~~ 1、先将jquery.js 和jquery.message.js文件引到页面文件里 <script type="text/javascript" src=" 阅读全文
posted @ 2011-12-21 17:20 火腿骑士 阅读(208) 评论(0) 推荐(0) 编辑
摘要: 在WEB(我是在Asp.net环境,相信其它也一样.)开发当中,当你传有中文值的URL(如http://localhost/Test/test.aspx?name=张三),你会发现你通过Request.Questring["Name"]服务器处理时获取的并不是你要的"张三",而是一些奇怪的字符,问题就来了。这时候你可用通过Javascript的window.encodeURIComponent方法转换你的URL,将中文部分转换成encode。贴入javascript实现的方法.functionqs(url){if(window.RegExp&&a 阅读全文
posted @ 2011-12-21 11:14 火腿骑士 阅读(210) 评论(0) 推荐(0) 编辑
摘要: 超强的jquery极品插件--其它类 posted @ 2009-08-31 15:03 hcb 阅读(276) | 评论 (0) 编辑 | 超强的jquery极品插件--上传类/时间日期类 /虚拟键盘类 /圆角类热 posted @ 2009-08-31 15:02 hcb 阅读(667) | 评论 (0) 编辑 | 超强的jquery极品插件--Form相关类 / 图表类 posted @ 2009-08-31 15:00 hcb 阅读(572) | 评论 (0) 编辑 | 超强的jquery极品插件--导航类 / 验证类 posted @ 2009-08-31 14:59 hcb 阅读( 阅读全文
posted @ 2011-12-21 10:36 火腿骑士 阅读(200) 评论(0) 推荐(1) 编辑
摘要: jQuery为开发插件提拱了两个方法,分别是:jQuery.fn.extend(object);jQuery.extend(object);jQuery.extend(object); 为扩展jQuery类本身.为类添加新的方法。jQuery.fn.extend(object);给jQuery对象添加方法。fn 是什么东西呢。查看jQuery代码,就不难发现。jQuery.fn = jQuery.prototype = {init: function( selector, context ) {//.... //......}; 原来 jQuery.fn = jQuery.prototype. 阅读全文
posted @ 2011-12-21 10:16 火腿骑士 阅读(153) 评论(0) 推荐(0) 编辑
摘要: document.execCommand("BackgroundImageCache",false,true)解决ie6下的背景图片缓存问题 IE6下的背景图片每次使用都会重新发送请求(not 本地),连一个hover效果时候同样的背景图片仅仅位置不同而已,ie6都会再次发送请求,这个令人崩溃的事情需要解决掉:对于ie来说,filter:expression 很强大,能够实现的功能超级多,但是更对于视效率如生命的程序员来说,它的效率不敢令人恭维,所以有人会用css方法实现ie6下背景图片缓存,但是这种人也就是崇拜微软的强大而已,无它,html {filter:express 阅读全文
posted @ 2011-12-21 09:44 火腿骑士 阅读(262) 评论(0) 推荐(0) 编辑
摘要: http://dev.iceburg.net/jquery/jqModal/#examplesjqModal Minimalist Modaling with jQueryWhat?jqModal is a plugin for jQuery to help you display notices, dialogs, and modal windows in a web browser. It is flexible and tiny, akin to a "Swiss Army Knife", and makes a great base as a general pur 阅读全文
posted @ 2011-12-21 09:01 火腿骑士 阅读(731) 评论(0) 推荐(0) 编辑
摘要: ASP.NET获取客户端IP/用户名等信息 1. 在ASP.NET中专用属性: 获取服务器电脑名:Page.Server.ManchineName 获取用户信息:Page.User 获取客户端电脑名:Page.Request.UserHostName 获取客户端电脑IP:Page.Request.UserHostAddress 2. 在网络编程中的通用方法: 获取当前电脑名:static System.Net.Dns.GetHostName() 根据电脑名取出全部IP地址:static System.Net.Dns.Resolve(电脑名).AddressList 也可根据IP地址取出电脑名: 阅读全文
posted @ 2011-12-21 08:46 火腿骑士 阅读(220) 评论(0) 推荐(0) 编辑
摘要: 项目中有时会用到自动补全查询,就像Google搜索框、淘宝商品搜索功能,输入汉字或字母,则以该汉字或字母开头的相关条目会显示出来供用户选择, autocomplete插件就是完成这样的功能。 autocomplete官网 : http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/(可下载jQuery autocomplete插件)。 淘宝商品搜索功能 效果: 下面来使用 autocomplete插件来实现类似效果。1. 创建 AjaxPage.aspx 页面,在其中定义 WebMethod 方法来返回 搜索页面需... 阅读全文
posted @ 2011-12-19 10:11 火腿骑士 阅读(194) 评论(0) 推荐(0) 编辑
摘要: Ext.Net CheckboxGroup实现单选posted @ 2011-08-25 18:15 EasyPass 阅读(147) | 评论 (0) 编辑"Ext未定义"解决方法posted @ 2010-10-20 14:53 EasyPass 阅读(902) | 评论 (1) 编辑Ext GridPanel 表头合并posted @ 2010-10-14 17:20 EasyPass 阅读(347) | 评论 (0) 编辑Ext GridPanel选定默认行posted @ 2010-07-10 23:55 EasyPass 阅读(204) | 评论 (0) 编辑C 阅读全文
posted @ 2011-12-17 19:50 火腿骑士 阅读(728) 评论(0) 推荐(0) 编辑
上一页 1 ··· 128 129 130 131 132 133 134 135 136 ··· 164 下一页