//滾動鼠標時 滾動橫向滾動條
$doc.unbind('mousewheel').bind('mousewheel', function (event) {
if ($doc.outerWidth() > $win.width()) {if (event.deltaX === 0) {
$doc.scrollLeft($doc.scrollLeft() + event.deltaY * event.deltaFactor);
}
}
});
//滾動鼠標時 滾動橫向滾動條
$doc.unbind('mousewheel').bind('mousewheel', function (event) {
if ($doc.outerWidth() > $win.width()) {js (function(){ /*全局變量*/ var $_warp=$(".layout"); var $_win=$(window); //初始化 流塊 window.init=functio
npm install -g mirror-config-china --registry=http://registry.npm.taobao.org npm install node-sass