摘要: function Person(name,sex,age){ this.name = name; this.sex = sex; this.age = age;}Person.prototype.eat = function(){ console.log("每个人都会吃饭");}function P 阅读全文
posted @ 2016-09-24 10:22 莫尘y 阅读(105) 评论(0) 推荐(0) 编辑
摘要: ;(function($){ $.fn.picComplete = function(time,fn){ var that = this; var timer = setInterval(function(){ var imgCount = that.length; var hCount = 0; 阅读全文
posted @ 2016-09-24 10:17 莫尘y 阅读(83) 评论(0) 推荐(0) 编辑
摘要: $(function(){ $("ul li:lt(5)").clone().appendTo("ul"); var $width = $("ul li:lt(5)").width() * 4; var currIndex = 0; $("#next").click(function(){ if(c 阅读全文
posted @ 2016-09-24 10:12 莫尘y 阅读(3000) 评论(0) 推荐(0) 编辑