摘要: $(function(){ $("#totop").hide(); $(window).scroll(function(){ if ($(window).scrollTop()>1200){ $("#totop").fadeIn(); }else{ $("#totop").fadeOut(); } 阅读全文
posted @ 2018-07-27 18:10 凌珊 阅读(131) 评论(0) 推荐(0) 编辑
摘要: <ul id="tabNav"> <li class="tab_current"></li> <li></li> <li></li> </ul> <ul id="tabList"> <li class="tab_curr"></li> <li></li> <li></li> </ul> <ul id 阅读全文
posted @ 2018-07-27 18:06 凌珊 阅读(70) 评论(0) 推荐(0) 编辑
摘要: HTML <div class="code"> <input @click="selectShow =!selectShow" readonly="readonly" :placeholder="$lang.inputCoin" :value="selected.goods"> <i></i> <u 阅读全文
posted @ 2018-07-27 18:01 凌珊 阅读(97) 评论(0) 推荐(0) 编辑
摘要: IE下,event对象有srcElement属性,但是没有target属性; Firefox下,event对象有target属性,但是没有srcElement属性.但他们的作用是相当的,即: firefox 下的 event.target = IE 下的 event.srcElement 解决方法: 阅读全文
posted @ 2018-07-27 11:45 凌珊 阅读(184) 评论(0) 推荐(0) 编辑