上一页 1 ··· 4 5 6 7 8
摘要: http://www.mrfront.com/docs/velocity.js/ 阅读全文
posted @ 2017-06-05 10:57 SharkChilli 阅读(209) 评论(0) 推荐(0) 编辑
摘要: 移动端总结和手机兼容问题 H5页面窗口自动调整到设备宽度,并禁止用户缩放页面 <meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-sc 阅读全文
posted @ 2017-06-01 22:02 SharkChilli 阅读(323) 评论(0) 推荐(0) 编辑
摘要: s = " 网页可见区域宽:" document.body.clientWidth; s = " 网页可见区域高:" document.body.clientHeight; s = " 网页可见区域宽:" document.body.offsetWidth " (包括边线和滚动条的宽)"; s = 阅读全文
posted @ 2017-05-28 10:33 SharkChilli 阅读(18627) 评论(0) 推荐(1) 编辑
摘要: 注:本文中使用到的一些类库在前面文章都能找到源代码,我会在文中指明链接所在,为了缩短文章篇幅,由此带来的阅读不便,敬请谅解。 本文讲解 Ajax 实现无刷新分页、实现原理、代码展示、代码下载。 这里需要说明一些知识: 1、Ajax 无刷新页面的好处:提供良好的客户体验,通过 Ajax 在后台从数据库 阅读全文
posted @ 2017-05-22 22:31 SharkChilli 阅读(214) 评论(0) 推荐(0) 编辑
摘要: 1 function Ajax(recvType){ 2 var aj=new Object(); 3 aj.recvType=recvType ? recvType.toUpperCase() : 'HTML' //HTML XML 4 aj.targetUrl=''; 5 aj.sendString=''; 6 aj.r... 阅读全文
posted @ 2017-05-22 22:15 SharkChilli 阅读(197) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8