https://cnodejs.org/topic/56ef3edd532839c33a99d00e 前端资源
摘要: <li>列表的奇数行和偶数行变色、<table>的行变色。 英文字母用css控制大小写 .article strong{ overflow:hidden; width: 200px; height: 200px; display: block;}.article img{ display:block 阅读全文
posted @ 2016-03-31 16:23 乐淘淘zzxh 阅读(164) 评论(0) 推荐(0) 编辑
摘要: <div class="box-cont"> <div class="zhu-base zhu1 bg-violet anima"> <span class="top-txt nowrap c9">¥ 673,581</span> <span class="mid-txt">半包</span> </ 阅读全文
posted @ 2016-03-31 14:48 乐淘淘zzxh 阅读(137) 评论(0) 推荐(0) 编辑
摘要: /** * 表单输入框获取焦点、失去焦点 * @param {$} ele jquery对象 * @param {string} value 输入框默认值 * */ focusBlur: function(ele, value) { ele.focus(function() { var $self 阅读全文
posted @ 2016-03-31 14:17 乐淘淘zzxh 阅读(648) 评论(0) 推荐(0) 编辑
摘要: backToTop: function() { $(window).on('scroll', function() { var $sTop = $(window).scrollTop(); if ($sTop > 600) { $('.back-to-top').show(); } else { $ 阅读全文
posted @ 2016-03-31 14:09 乐淘淘zzxh 阅读(129) 评论(0) 推荐(0) 编辑
摘要: formFree:function(){ $(".free-form").bind('submit',function(event){ event.preventDefault();//阻止submit事件(用ajax提交) var $form=$(this); $form.find('.error 阅读全文
posted @ 2016-03-31 13:57 乐淘淘zzxh 阅读(146) 评论(0) 推荐(0) 编辑
摘要: varmsgSlide:function(cBut,type,icoClass){ $(cBut).bind(type,function(){ if(cBut.hasClass("icone61b")){ $(this).addClass("icone60d"); } $(this).toggleC 阅读全文
posted @ 2016-03-31 13:49 乐淘淘zzxh 阅读(247) 评论(0) 推荐(0) 编辑