会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
静默如初
博客园
首页
新随笔
联系
订阅
管理
2016年9月6日
关于正则的那些事儿
摘要: 感觉正则的东西太零散了 总是记不住,写下这篇随笔,遇到关于正则的就记下来。 /^hell/ 匹配的格式有 hell hello helluioo 等, 其中^为定位符 /ar$/ 匹配的格式有 car bar ar hsuhar 等,其中$为定位符 [^] 为否定符 /[^\d]/ 匹配所有0-9以
阅读全文
posted @ 2016-09-06 16:58 co喵儿
阅读(188)
评论(0)
推荐(0)
2016年8月31日
使用localStorage缓存用户的较固定信息城市和小区(城市和小区均为select列表形式)
摘要: var cache= {} ; //声明存放缓存的对象 cache.city = userCity ; //存储城市列表 cache.community = userCommunity ; //存储小区列表 cache.cityId = cityId; //城市id cache.communityI
阅读全文
posted @ 2016-08-31 16:14 co喵儿
阅读(231)
评论(0)
推荐(0)
用jq编码解码一个url地址
摘要: 介绍一下编码解码函数对 1. escape /unescape 主要用于汉字编码,返回字符的unicode编码值, 对“+”不能编码 2. encodeURI / decodeURI 用于对url进行编码,但对特殊字符如+ ? # @ & 等不能编码 3, encodeURIComponent /d
阅读全文
posted @ 2016-08-31 16:07 co喵儿
阅读(3139)
评论(0)
推荐(0)
2015年11月17日
bootstrap 框架里 固定居中问题
摘要: 运用了bootstrap 框架 ,在栅格系统中占列数小于12,且需要居中显示并固定悬浮在最下方的div(设为divnei) ,可以在其外层嵌套一个div(设为divwai) ,可以设置divwai 为:{width:100%; position:fixed; left:0; bottom:0;tex...
阅读全文
posted @ 2015-11-17 14:04 co喵儿
阅读(580)
评论(0)
推荐(0)
2015年7月31日
wamp 配置多个域名(设置多个根目录)
摘要: 第一步:找到httpd.conf 文件找到这一句:#Include conf/extra/httpd-vhosts.conf ,去掉前面的#,开启虚拟主机功能。第二步:在extra 下找到httpd-vhosts.conf 按照如下方式配置 DocumentRoot"c:...
阅读全文
posted @ 2015-07-31 12:31 co喵儿
阅读(594)
评论(0)
推荐(0)
2015年7月9日
ckplayer+barrage 视频弹幕
摘要: 1.播放器ckplayer 下载地址:http://www.ckplayer.com/bbs/forum.php?mod=viewthread&tid=10864弹幕插件barrage下载地址:http://www.ckplayer.com/bbs/forum.php?mod=viewthread&...
阅读全文
posted @ 2015-07-09 15:43 co喵儿
阅读(2872)
评论(0)
推荐(0)
2015年7月8日
html 特殊符号显示技巧
摘要:
阅读全文
posted @ 2015-07-08 20:11 co喵儿
阅读(190)
评论(0)
推荐(0)
2015年6月9日
css3 问题
摘要: css3的动画,执行完毕后默认回到初始状态,要想停留在动画的末状态;只需设置一个属性像这样 {animation:an 1s forwards;} 就可以了
阅读全文
posted @ 2015-06-09 12:52 co喵儿
阅读(144)
评论(0)
推荐(0)
公告