会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
yuan9580
博客园
首页
新随笔
联系
管理
上一页
1
2
3
4
5
6
7
8
9
10
···
12
下一页
2019年10月29日
简化PHPCMS V9的动态网址
摘要: PHPCMS V9默认的动态页面网址太长了(比如默认的栏目网址为:/index.php?m=content&c=index&a=lists& amp;catid=9,内容页面网址为:/index.php?m=content&c=index&a=show& catid=11&id=46),通过修改,我
阅读全文
posted @ 2019-10-29 09:20 yuan9580
阅读(312)
评论(0)
推荐(0)
2019年10月22日
ajax前端返回数据,内容前面有空格
摘要: success:function(res){ res=res.replace(/\s/g,''); alert(res);}
阅读全文
posted @ 2019-10-22 14:28 yuan9580
阅读(437)
评论(0)
推荐(0)
2019年10月10日
织梦调用指定栏目内容
摘要: {dede:arclist titlelen='50' row='6' typeid='19'} [field:title /] [field:pubdate function="MyDate('Y-m-d',@me)"/] {/dede:arclist}
阅读全文
posted @ 2019-10-10 16:33 yuan9580
阅读(368)
评论(0)
推荐(0)
2019年10月9日
取消phpcms后台hash验证
摘要: 刚挪完服务器,后台修改医生顺序的时候,一直提示[hash]数据验证失败,编辑那边又着急,干脆取消hash验证得了。根据文件一路追踪,验证方法定check_hash义在phpcms/modules/admin/class/admin.class.php中,直接让这个方法返回TRUE就行了。 这只是应急
阅读全文
posted @ 2019-10-09 14:04 yuan9580
阅读(245)
评论(0)
推荐(0)
phpcms模板出现错误fatal error:Call to undefined function clearinterval(
摘要: 在搞phpcms模板的时候,刚把模板复制进去,然后当执行到js: {clearInterval(gundong)} 的时候出现:fatal error :Call to undefined function clearinterval() in……错误,导致运行终止,只显示此句代码以上部分。 解决这
阅读全文
posted @ 2019-10-09 14:02 yuan9580
阅读(288)
评论(0)
推荐(0)
2019年9月20日
父级居中后,并继承子级浮动方法
摘要: width: 1200px;margin: 0 auto;overflow: auto;zoom: 1;
阅读全文
posted @ 2019-09-20 15:52 yuan9580
阅读(152)
评论(0)
推荐(0)
2019年9月12日
flex 设置换行flex-wrap
摘要: ul { width: 100%; display: flex; flex-wrap: wrap;} li { flex: 1; width: 25%; min-width: 25%; max-width: 25%; }
阅读全文
posted @ 2019-09-12 17:24 yuan9580
阅读(1025)
评论(0)
推荐(0)
CSS响应式:根据分辨率加载不同CSS的几个方法
摘要: 一般情况下,根据分辨率加载pc端 wap端 pad端三个css文件,示例: 只有一个css文件情况下,根据分辨率调整css样式,示例:
阅读全文
posted @ 2019-09-12 17:20 yuan9580
阅读(575)
评论(0)
推荐(0)
纯css实现移动端横向滑动列表
摘要: <!DOCTYPE html> <html> <head> <title>横向滑动</title> <style type="text/css"> .slide-box{ margin-top: 200px; display: -webkit-box; overflow-x: scroll; -webkit-overflow-scrolling:touch; } .slide-item{ widt
阅读全文
posted @ 2019-09-12 17:17 yuan9580
阅读(880)
评论(0)
推荐(0)
html实现点击图片放大功能
摘要: <html> <head> <style> .over {position: fixed; left:0; top:0; width:100%; z-index:100;} .tempContainer {position:fixed; width:100%; margin-right:0px; margin-left:0px; text-align:center; z-index:101;} <
阅读全文
posted @ 2019-09-12 17:15 yuan9580
阅读(11860)
评论(1)
推荐(0)
上一页
1
2
3
4
5
6
7
8
9
10
···
12
下一页
公告