上一页 1 2 3 4 5 6 7 8 9 ··· 12 下一页
摘要: 写插件的栗子 干前端两年了,第一次自己试着封装小插件,虽然有点迟但是依旧很兴奋!UP 阅读全文
posted @ 2015-04-22 18:12 丑萌嘞 阅读(416) 评论(0) 推荐(0)
摘要: http://www.easyjs.org/http://blog.chinaunix.net/uid-26672038-id-4112229.html史上最全前端面试题(含答案)http://www.jobui.com/mianshiti/it/web/5066/http://www.cnblog... 阅读全文
posted @ 2015-04-21 18:30 丑萌嘞 阅读(121) 评论(0) 推荐(0)
摘要: var stardata = {"11910":[{"title":"\u5c1a\u96ef\u5a55\u3001\u5218\u4eea\u4f1f\u73b0\u573a\u52a9\u9635","url":"http:\/\/www.1905.com\/video\/play\/8792... 阅读全文
posted @ 2015-04-21 09:08 丑萌嘞 阅读(556) 评论(0) 推荐(0)
摘要: var random = function(){ var a = 2; var n = Math.round(Math.random()*(a-1))+1; function obj(){ this.href = ''; this.class = '... 阅读全文
posted @ 2015-04-03 17:48 丑萌嘞 阅读(116) 评论(0) 推荐(0)
摘要: PlaceHolder 登录用户名、密码文字提示,鼠标离开显示文字 html5 and jquery 账号: 密码: 阅读全文
posted @ 2015-04-03 13:40 丑萌嘞 阅读(512) 评论(0) 推荐(0)
摘要: $(function(){ function isPlaceholder(){ var input = document.createElement('input'); return 'placeholder' in input; } ... 阅读全文
posted @ 2015-04-02 16:15 丑萌嘞 阅读(1098) 评论(0) 推荐(0)
摘要: //格式化为时间字符串 yyyy-mm-dd hh:mm:ssfunction strDate(date, type) { var y = date.getFullYear(), m1 = date.getMonth() + 1, d = date.getDate(... 阅读全文
posted @ 2015-03-11 15:51 丑萌嘞 阅读(152) 评论(0) 推荐(0)
摘要: var dailyBox = $('.daily-box-office'), curDate = new Date(), curYear = curDate.getFullYear(), curMonth = curDate.getMonth()+1;dailyBox.find('... 阅读全文
posted @ 2015-03-10 14:32 丑萌嘞 阅读(256) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2015-02-28 16:01 丑萌嘞 阅读(152) 评论(0) 推荐(0)
摘要: function countdown(){ var countdown = $(".header .time"), reduceDay = countdown.children(".countdown"), seed = 0, startTime = ... 阅读全文
posted @ 2015-02-26 17:06 丑萌嘞 阅读(145) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 ··· 12 下一页