-
元素屬性scrollTop scrollLeft查看全部
-
jQ事件對象 pageX() pageY()查看全部
-
初始化滑塊功能查看全部
-
_initDomEvent 方法查看全部
-
實現思路查看全部
-
圖示2查看全部
-
滑動比率圖查看全部
-
交互初始化2查看全部
-
交互初始化操作的實現查看全部
-
getMaxSliderPosition() return self.$bar.height()-self.$slider.height(); scrollTo self.$cont.scrollTop(positionVal);查看全部
-
getMaxScrollPosition() //內容滾動 // $cont[0].scrollHeight-$cont.height()查看全部
-
_initSliderDragEvent:function(){} // 下面有 mousemoveHandler(e){} // mousedown mousemove mouseup return self ;查看全部
-
_initDomEvent:function(){ this._bindContScroll(); } //查看全部
-
getSliderPosition() 需要 getMaxSliderPosition() 和getMaxScrollPosition()查看全部
-
_bindContScroll:function(){} // 處理小滑塊滾動 sliderEL.style.top=self.getSliderPosition()+"px"; //css. return self;查看全部
舉報
0/150
提交
取消