摘要:        
按钮式: <INPUT name="pclog" type="button" value="GO" onClick="location.href='http://www.baidu.com/'"> 链接式: <a href="javascript:history.go(-1)">返回上一步</a>     阅读全文
posted @ 2017-07-07 15:54
@circle
阅读(139)
评论(0)
推荐(0)
        
            
        
        
摘要:        
解决办法:增加e.stopPropagation()    阅读全文
posted @ 2017-07-07 13:28
@circle
阅读(423)
评论(0)
推荐(0)
        
            
        
        
摘要:        
转载自https://kb.cnblogs.com/page/566318/ 工程师该怎样才能突破自己的能力瓶颈?写 blog! 工程师该怎样精进自己在职涯上所需要的能力?写 blog! 工程师该怎样才能保持学习与成长的动能?写 blog! 工程师该怎样才能证明自己的潜力与特质?写 blog! 工程    阅读全文
posted @ 2017-07-07 12:50
@circle
阅读(200)
评论(0)
推荐(0)
        
            
        
        
摘要:        
如果是完全自适应,那么可以通过JS来控制具体代码如下: (function (doc, win) { var docEl = doc.documentElement, resizeEvt = 'orientationchange' in window ? 'orientationchange' :     阅读全文
posted @ 2017-07-07 11:11
@circle
阅读(128)
评论(0)
推荐(0)
        
            
        
        
摘要:        
主要是通过js将地址的前缀改为医疗国家的网址,然后通过each循环更改每个网址 具体代码如下: var o=$(".pro_listbox").find(".pro_listbox"); o.each(function(){ var tmp=$(this).find("img").attr("src    阅读全文
posted @ 2017-07-07 11:07
@circle
阅读(121)
评论(0)
推荐(0)
        
            
        
        
摘要:        
@media (min-width: 993px) and (max-width: 1199px) {} @media (min-width: 700px) and (max-width: 992px) {} @media (min-width: 544px) and (max-width: 699    阅读全文
posted @ 2017-07-07 11:05
@circle
阅读(381)
评论(0)
推荐(0)
        
            
        
        
摘要:        
1、使用伪类来实现清除浮动(:after或者:before) .clearfix:after{ centent:"";//设置内容为空 height:0;//高度为0 line-height:0;//行高为0 display:block;//将文本转为块级元素 visibility:hidden;/    阅读全文
posted @ 2017-07-07 09:36
@circle
阅读(127)
评论(0)
推荐(0)
        
            
        
        
摘要:        
1、针对IE10的兼容性 /*ie10 css hack*/ @media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) { .class名字 { 里面的样式:样式值;} } 2、针对IE9的兼容性(或者使用:ro    阅读全文
posted @ 2017-07-07 09:24
@circle
阅读(153)
评论(0)
推荐(0)
        
                    
                
浙公网安备 33010602011771号