CrazyStyle
New Member
I'm having issues getting a second iscroll to run (below with id = VertScroll). I've done my darnest to follow the iscroll guide, but am having no luck with this second scroll. Any advice would be much appreciated.The HTML is:\[code\]<div id="vert_scroller"> <div id="vert_scroller_inner"> scrolling stuff </div></div>\[/code\]The JS is:\[code\]var HorizScroll = new iScroll('horiz_scroller', { snap: true, momentum: true, hScrollbar: false, vScrollbar: false, vScroll: false});window.addEventListener('load', loaded, false);var VertScroll = new iScroll('vert_scroller', { hScrollbar: false, vScrollbar: false, bounce: false, hScroll: false});\[/code\]The CSS is:\[code\]#vert_scroller { /* no scroller */ /*overflow: hidden; height: 100%; width: 100%; position: absolute; left: 0; top: 0; display: none;*/ /* best attempt at scroller */ top: 0; left: 0px; height: 50%; width: 100%; position: absolute; overflow: hidden;}#vert_scroller_inner{}\[/code\]Thanks!