Lines Matching refs:slider
20 var slider;
126 // Initialize the slider without any cards at the moment
128 slider = new Slider(appsFrame, appsPageList, [], 0, appsFrame.offsetWidth);
129 slider.initialize();
131 // Ensure the slider is resized appropriately with the window
133 slider.resize(appsFrame.offsetWidth);
144 var newPageIndex = e.slider.currentCard;
281 // Tell the slider about the pages
285 dots[slider.currentCard].classList.add('selected');
338 var pageNo = slider.currentCard;
344 slider.setCards(pageArray, pageNo);
449 slider.selectCard(dotCount, true);
522 // slider changes cards and is translated. An alternate approach would be
523 // to use fixed positioning for the slider (so that changes to its position
606 var curPage = appsPages[slider.currentCard];
678 var pageIndex = slider.currentCard;
723 // Stop the slider from sliding for this touch
724 slider.cancelTouch();
765 * Remove the page with the specified index and update the slider.