摘要: reverse()反转字符串String.prototype.reverse=function(){return this.split("").reverse().join("")}in_array(a,b) 返回A数组是否在B数组中,a可以是单个字符或多个Array.prototype.in_ar... 阅读全文
posted @ 2014-05-04 17:44 ipup 阅读(166) 评论(0) 推荐(0) 编辑
摘要: tipLoad:function(tip,disableScroll){ var maskDiv=$(""),tipDiv; if(!$(tip).length)tipDiv=$(""+tip+""); else { tipDiv=$(... 阅读全文
posted @ 2014-05-04 16:53 ipup 阅读(291) 评论(0) 推荐(0) 编辑
摘要: var switchImg=function(){ var currentBtn,currentIndex,lastIndex=btn.filter("."+focusClass).index(); triggerType=$(this).hasClass(dir.attr("class")... 阅读全文
posted @ 2014-05-04 15:07 ipup 阅读(186) 评论(0) 推荐(0) 编辑