会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
joya
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
···
9
下一页
2014年12月16日
常用JavaScript字符串方法简述
摘要: 网址来源:http://www.html-js.com/article/JS-rookie-in-the-rookie-to-start-learning-to-fly-the-commonly-used-string-method-in-JavaScriptindexOf(str)返回字符串中参数...
阅读全文
posted @ 2014-12-16 16:57 joya
阅读(181)
评论(0)
推荐(0)
2014年10月12日
命名
摘要: step 步数speed 速度count 次数index 索引,下标
阅读全文
posted @ 2014-10-12 11:33 joya
阅读(120)
评论(0)
推荐(0)
2014年10月10日
jquery远程班备忘
摘要: 基础第一课: 1、 $(obj)获取的是一个集合,因此length最小是1, jquery,如果元素不存在,也不会报错,可通过$(obj).length $('div[class="color1 color2"]'),属性值中有空格,需要用到引号基础第二课: 1、slice...
阅读全文
posted @ 2014-10-10 23:27 joya
阅读(393)
评论(0)
推荐(0)
2014年9月3日
html历史
摘要: 方法一:location.hash = 'abc'window.onhashchange = function(){}location.hash 返回结果 #abc => location.hash.substring(1) abc方法二:存历史:history.pushstate(数据,标题,网址...
阅读全文
posted @ 2014-09-03 21:53 joya
阅读(113)
评论(0)
推荐(0)
2014年5月23日
CSS3的翻转效果
摘要: css3图片与文字3D transform切换: http://www.w3cplus.com/demo/419.html详细的CSS3属性详解: http://www.zhangxinxu.com/wordpress/2012/09/css3-3d-transform-perspective-...
阅读全文
posted @ 2014-05-23 17:15 joya
阅读(535)
评论(0)
推荐(0)
2014年5月21日
正则
摘要: 元字符: \t 水平制表符Tab\v 垂直制表符 \n 换行 \r 回车 \0 空字符 \f 换页符 \cX ctrl+X 字符类: [] a[ab]c=>aac、abc [^] 表示取反 范围类: [a-z] 预定义类及边界: . 任意字符(除回车和换行) \d 数字 \D 非数字 \s 空白符
阅读全文
posted @ 2014-05-21 21:12 joya
阅读(321)
评论(0)
推荐(0)
2014年5月20日
排序算法
摘要: 快速排序 思想: 1、找到一个基准点 2、建立两个数据,分别存放左边和右边的数组 3、利用递归的原理进行比较 arr = [1,6,3,4,5] 步骤 : 1,6,3,4,5 1,3,6,4,5 1,3,4,6,5 1,3,4,5,6 注意: ...
阅读全文
posted @ 2014-05-20 21:29 joya
阅读(135)
评论(0)
推荐(0)
2014年5月16日
firebug的调试,console
摘要: console.log()console.warn() 警告console.error() 错误console.group() 分组 console.grounpEnd() 分组结束console.dir() 输出所有信息var cat = {};cat.name = "mm";cat.sex ...
阅读全文
posted @ 2014-05-16 23:21 joya
阅读(153)
评论(0)
推荐(0)
跨域
摘要: window下: 快捷方式 地址后面加上 --disable-web-security MAC下:
阅读全文
posted @ 2014-05-16 18:45 joya
阅读(82)
评论(0)
推荐(0)
2014年5月13日
操作iframe
摘要: 页面控制iframe元素iframe元素.contentWindow.document.getElementById(''); //iframe元素.contentWindow为iframe对象iframe元素.contentDocument.getElementById(''); //ifra...
阅读全文
posted @ 2014-05-13 23:15 joya
阅读(236)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
···
9
下一页
公告