- 博客(4)
- 资源 (6)
- 收藏
- 关注
转载 简单返回顶部代码及注释说明
http://www.cnblogs.com/mind/archive/2012/03/23/2411939.html 1. 最简单的静态返回顶部,点击直接跳转页面顶部,常见于固定放置在页面底部返回顶部功能 方法一:用命名锚点击返回到顶部预设的id为top的元素 html代码 a href="#top" target="_self">返回顶部a> 方法
2016-05-25 12:09:07 484
转载 JS字符串格式化
在Java中我们可以使用String.format()格式化文本来避免丑陋的各种拼接字符串,而在Javascript中却没有。网上找了很多都是使用正则,我倒是觉得没有必要,改进后得出代码。 格式化字符串 版本1 String.prototype.format = function(args) { var result = this; if (arguments.length...
2016-05-04 14:58:12 21607
原创 Bootstrap表格排序插件、日期选择插件
http://github.hubspot.com/sortable/ Manually Including For the most common usage of sortable, you’ll want to include following: script src="sortable.min.js">script> link rel="stylesheet
2016-05-03 16:48:11 4243
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人