摘要: 阅读全文
posted @ 2016-04-07 17:46 luomo 阅读(87) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2016-03-28 17:53 luomo 阅读(115) 评论(0) 推荐(0) 编辑
摘要: jQuery-Draggable参数介绍默认设置值:$.extend($.ui.draggable, {version: “1.7.1″,eventPrefix: “drag”,defaults: {addClasses: true,appendTo: “parent”,axis: false,ca... 阅读全文
posted @ 2014-12-03 13:32 luomo 阅读(690) 评论(0) 推荐(0) 编辑
摘要: 转载:http://www.oschina.net/code/snippet_105076_3962config.phpcron.phpignore_user_abort();//关掉浏览器,PHP脚本也可以继续执行.set_time_limit(0);// 通过set_time_limit(0)可... 阅读全文
posted @ 2014-11-24 15:23 luomo 阅读(159) 评论(0) 推荐(0) 编辑
摘要: 转载:http://www.php230.com/php-how-to-generate-n-random-number-does-not-repeat.html有25幅作品拿去投票,一次投票需要选16幅,单个作品一次投票只能选择一次。前面有个程序员捅了漏子,忘了把投票入库,有200个用户产生的投票... 阅读全文
posted @ 2014-11-05 19:39 luomo 阅读(329) 评论(0) 推荐(0) 编辑
摘要: Example:CSS鼠标手型效果 CSS鼠标手型效果Example:CSS鼠标手型效果 CSS鼠标手型效果注:pointer也是小手鼠标,建议大家用pointer,因为它可以兼容多种浏览器。Example:CSS鼠标由系统自动给出效果 CSS鼠标由系统自动给出效果Example:CSS鼠标十字型 ... 阅读全文
posted @ 2014-11-04 11:13 luomo 阅读(387) 评论(0) 推荐(0) 编辑
摘要: ajax防止重复提交请求A. 独占型提交只允许同时存在一次提交操作,并且直到本次提交完成才能进行下一次提交。module.submit = function() { if (this.promise_.state() === 'pending') { return } return this.pro... 阅读全文
posted @ 2014-11-04 09:19 luomo 阅读(460) 评论(0) 推荐(0) 编辑
摘要: 使用JS截取字符串函数详解JS截取字符串函数:一、函数:split();二、函数:John();三、函 数:indexOf();四、其他几种方 法:stringObject.substring(start,stop);stringObject.substr(start[,length])...一、函... 阅读全文
posted @ 2014-11-03 13:57 luomo 阅读(200) 评论(0) 推荐(0) 编辑
摘要: navigator.geolocation例子 [html] view plaincopy 转载:http://blog.csdn.net/gohome520/article/details/7338486 阅读全文
posted @ 2014-10-29 10:52 luomo 阅读(487) 评论(0) 推荐(1) 编辑
摘要: 引言 您的个人网站即使做得再精彩,在“浩瀚如海”的网络空间中,也如一叶扁舟不易为人发现,如何推广个人网站,人们首先想到的方法无外乎以下几种: ● 在搜索引擎中登录自己的个人网站 ● 在知名网站加入你个人网站的链接 ● 在论坛中发帖子宣传你的个人网站 很多人却忽视了HTML标签M... 阅读全文
posted @ 2014-10-21 09:00 luomo 阅读(674) 评论(0) 推荐(0) 编辑