摘要:
1 2 3 4 5 Tab切换 6 7 8 56 57 58 59 60 61 公告 6... 阅读全文
摘要:
Tab切换 公告 规则 论坛 安全 公益 张勇:快乐足球 ... 阅读全文
摘要:
function hasClass(obj, cls) { //class位于单词边界,判断class样式是否已经存在 return obj.className.match(new RegExp('(\\s|^)' + cls + '(\\s|$)')); } //给 obj添加class function addClass(obj, cls) { if (!this.hasClass(obj,... 阅读全文
摘要:
text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; //字体渐变 background-image: -webkit-linear-gradient(top,#000,#... 阅读全文
摘要:
if (!document.getElementsByClassName) { document.getElementsByClassName = function(className, element) { var children = (element || document).getElementsByTagName('*'); var elements = new Array(... 阅读全文