09 2015 档案

摘要:function scrollLoad() { var ele = document.getElementById('mainListBlock'); var isLastPage = false; window.isLoading = false; ... 阅读全文
posted @ 2015-09-24 18:35 冰狐2009 阅读(230) 评论(0) 推荐(0)
摘要:/*本例是为了在客户端页面返回时保存状态,采用hash值记录的模式,为了使用方便所写的存取hash值的库,时间仓促,望指出错误。*/var pageStateHash = { hashArray: [], getHashArray: function() { ... 阅读全文
posted @ 2015-09-24 18:33 冰狐2009 阅读(1019) 评论(0) 推荐(0)
摘要:angularjs 的$swipe,用法: $swipe.bind(angular.element(document),{ start: function(pos) { }, ... 阅读全文
posted @ 2015-09-10 15:22 冰狐2009 阅读(740) 评论(0) 推荐(1)
摘要://https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String//返回对应索引的字符chartAt()//返回对应所引的字符的统一码(Unicode value)charCodeAt(... 阅读全文
posted @ 2015-09-01 17:52 冰狐2009 阅读(538) 评论(0) 推荐(0)