摘要: var EventUtil = { addHandler:function(elm,type,handler){//添加事件 if(elm.addEventListener){ elm.addEventListener(type,handler,false); }else if(elm.attachEvent){ ... 阅读全文
posted @ 2017-09-13 22:18 面包_girl 阅读(161) 评论(0) 推荐(0)
摘要: /* http://blog.csdn.net/kepoon/article/details/53608190 */ //x5-video-player-type="h5" x5-video-player-fullscreen="true" <video id="video" src="http:/ 阅读全文
posted @ 2017-09-13 16:23 面包_girl 阅读(867) 评论(0) 推荐(0)
摘要: (function(){ var supportOrientation = (typeof window.orientation === 'number' && typeof window.onorientationchange === 'object'); var init = function(){ var htmlNode = document.body.parentNode, orien... 阅读全文
posted @ 2017-09-13 16:21 面包_girl 阅读(188) 评论(0) 推荐(0)
摘要: /* Track */::-webkit-scrollbar-track { -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3); -webkit-border-radius: 5px; border-radius: 5px;} /* Handle * 阅读全文
posted @ 2017-09-13 16:15 面包_girl 阅读(253) 评论(0) 推荐(0)
摘要: //$('.news-list').width($('.nw-wraper').width()); var timer = null, $newBox = $('.nw-box'),//元素盒子 $items = $newBox.children(),//子元素 $pre = $('.news-prev'), $next = $('.news-next'), ... 阅读全文
posted @ 2017-09-13 16:14 面包_girl 阅读(147) 评论(0) 推荐(0)
/* 鼠标点击文字特效 */