上一页 1 2 3 4 5 6 ··· 9 下一页
摘要: 方法一:【此对应喜欢把模板文件使用".html"的格式,】 /include/arc.archives.class.php 556行 if (!preg_match("#.htm$#", $tmpfile) ) return FALSE;会至判断了.htm的后缀没有匹配.html后缀的文件 直接修改 阅读全文
posted @ 2017-09-14 09:28 God丶魔多 阅读(483) 评论(0) 推荐(0) 编辑
摘要: 自定义表单通过ajax判断,提交不用跳转页面,提高用户体验。具体方法如下: html表单代码部分,就提交按钮改成botton,,添加onclick事件 表单代码: js代码(这个代码之前一定要引入jQuery库): php代码: 以上就是本文章的内容,希望对大家有所帮助。 阅读全文
posted @ 2017-09-13 20:39 God丶魔多 阅读(481) 评论(0) 推荐(0) 编辑
摘要: 此做法适合经常仿站的猿们,以notepad++为例 1. 用notepad++打开htm文件,按ctrl+f打开寻找菜单,选择Replace,在左下角点选regular express 2. 输入pattern :在 find what中输 在replace with里面输入你要替换的东西,我要把链 阅读全文
posted @ 2017-09-13 09:24 God丶魔多 阅读(659) 评论(0) 推荐(0) 编辑
摘要: 基于bootstrup treeview多级列表树插件 搜索 ... 阅读全文
posted @ 2017-07-11 17:21 God丶魔多 阅读(221) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2017-07-03 21:51 God丶魔多 阅读(5393) 评论(0) 推荐(0) 编辑
摘要: 启动全屏 阅读全文
posted @ 2017-07-03 11:00 God丶魔多 阅读(1480) 评论(0) 推荐(0) 编辑
摘要: 用户操作swiper之后,是否禁止autoplay。默认为true:停止。 如果设置为false,用户操作swiper之后自动切换不会停止,每次都会重新启动autoplay。 操作包括触碰,拖动,点击pagination等。 autoplayDisableOnInteraction参数 阅读全文
posted @ 2017-06-23 09:57 God丶魔多 阅读(4316) 评论(0) 推荐(0) 编辑
摘要: 注意FormData并不支持IE9以下浏览器 第一种,创建一个空的FormData对象,然后使用append()方法向该对象里添加字段 第二种,使用HTML表单来初始化一个FormData对象 HTML部分 JS部分 注: processData设置为false。因为data值是FormData对象 阅读全文
posted @ 2017-05-12 15:23 God丶魔多 阅读(2130) 评论(0) 推荐(0) 编辑
摘要: //初始化swiper var swiper = new Swiper('.swiper-container', { pagination: '.swiper-pagination', nextButton: '.swiper-button-next',... 阅读全文
posted @ 2017-04-26 16:17 God丶魔多 阅读(2905) 评论(0) 推荐(0) 编辑
摘要: $arr = array(1,2,3); // 把数组序列化之后,存入到cookie中 $arr_str = serialize($arr); // 序列化数组 setcookie('a',$arr_str); // 取出 $arr_str = $_COOKIE['a']; $arr = unserialize($arr_str); 阅读全文
posted @ 2017-04-25 18:51 God丶魔多 阅读(2607) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 9 下一页