摘要:
<li>列表的奇数行和偶数行变色、<table>的行变色。 英文字母用css控制大小写 .article strong{ overflow:hidden; width: 200px; height: 200px; display: block;}.article img{ display:block 阅读全文
摘要:
<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> </ 阅读全文
摘要:
/** * 表单输入框获取焦点、失去焦点 * @param {$} ele jquery对象 * @param {string} value 输入框默认值 * */ focusBlur: function(ele, value) { ele.focus(function() { var $self 阅读全文
摘要:
backToTop: function() { $(window).on('scroll', function() { var $sTop = $(window).scrollTop(); if ($sTop > 600) { $('.back-to-top').show(); } else { $ 阅读全文
摘要:
formFree:function(){ $(".free-form").bind('submit',function(event){ event.preventDefault();//阻止submit事件(用ajax提交) var $form=$(this); $form.find('.error 阅读全文
摘要:
varmsgSlide:function(cBut,type,icoClass){ $(cBut).bind(type,function(){ if(cBut.hasClass("icone61b")){ $(this).addClass("icone60d"); } $(this).toggleC 阅读全文