摘要:        
<script type="text/javascript" src="http://www.cnblogs.com/jquery-1.7.2.js"></script> <script type="text/javascript">// <![CDATA[ $(function () { //获取    阅读全文
posted @ 2016-04-22 10:35
青春在流失
阅读(1345)
评论(0)
推荐(0)
        
            
        
        
摘要:        
<ul class="shangpin clearfix col"> <li class="pin_1"> <a href="javascript:;" class="tupn"> <img src="img/diceaseguide.jpg"> </a> <div class="tupn_2">     阅读全文
posted @ 2016-04-22 10:27
青春在流失
阅读(129)
评论(0)
推荐(0)
        
            
        
        
摘要:        
JS判断只能是数字和小数点 1.文本框只能输入数字代码(小数点也不能输入)<input onkeyup="this.value=this.value.replace(/\D/g,'')" onafterpaste="this.value=this.value.replace(/\D/g,'')">     阅读全文
posted @ 2016-04-22 10:11
青春在流失
阅读(315)
评论(0)
推荐(0)
        
            
        
        
摘要:        
var VAR ={ repeatTemp:[] }; var COM = { repeat:function(s,t){//限制执行频率,默认为3秒 允许执行时返回false t = t ? t * 1000 : 3000;//毫秒 var time = microtime(); if(!VAR.    阅读全文
posted @ 2016-04-22 10:01
青春在流失
阅读(682)
评论(0)
推荐(0)
        
            
        
        
摘要:        
text-overflow: -o-ellipsis-lastline; overflow: hidden; text-overflow: ellipsis; display:-webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertic    阅读全文
posted @ 2016-04-22 10:00
青春在流失
阅读(730)
评论(0)
推荐(0)
        
            
        
        
摘要:        
$(function(){ $('.wdl_77').bind('click',function(){ var flyElm = $(this).parents('.molwd').find('.nulnd img').clone().css('opacity','0.6'); flyElm.css    阅读全文
posted @ 2016-04-22 09:59
青春在流失
阅读(127)
评论(0)
推荐(0)
        
            
        
        
摘要:        
function loading(){ $('body').prepend('<div class="loading" id="loading"><span>努力加载,请稍后...</span></div>');	} function cancelloading(){ $('#loading').f    阅读全文
posted @ 2016-04-22 09:58
青春在流失
阅读(545)
评论(0)
推荐(0)
        
            
        
        
摘要:        
<div class="top_12"> <label>搜索商品</label> <input type="text" class="p_2"> </div> <script> $(function(){ $('label').click(function(){ $(this).css('displ    阅读全文
posted @ 2016-04-22 09:56
青春在流失
阅读(469)
评论(0)
推荐(0)
        
 
                    
                 
 浙公网安备 33010602011771号
浙公网安备 33010602011771号