Everything will be okay in the end. If it's not okay, it's not the end.
2016-01-11
關于Jquery的return this.each(function(){})不理解的同學可以看下這篇文章 http://www.windyyong.com/?p=30
2016-01-08
有寫地方明顯寫錯了。例如:me.section = me.settins.selectors.section ,這里me.settings.section的實際值是'.section'這個字符串,所以后面的方法pagesCount:()=>me.section.legnth實際上獲取的是字符串的長度,而不是分頁的也數(shù),實際上應該根據(jù)selectors來獲取dom,然后獲取長度,改為me.section = $(me.settings.selectors.seciton)
不過思路還是很清晰的。
不過思路還是很清晰的。
這段教程相當好,對于有一定基礎卻想提高的人非常重要。許多方法仔細一想確實很巧妙。建議仔細分析代碼,多體會體會。
2016-01-02