javascript - Any way to disable scroll functionality of fullpage.js temporarily? -


i'm building out site using fullpage.js, has overlay pops , covers entire page. inside overlay, div setup overflow: scroll, can see of content. problem lies in when scroll thru content of overlay, scrolling of fullpage.js still going on background slides, causing end on random slide when close overlay.

is there way disable scroll functionality slides, without effecting scrolling of div set overflow:scroll?

using option normalscrollelements fullpage.js plugin provides:

from the documentation:

normalscrollelements: (default null) if want avoid auto scroll when scrolling on elements, option need use. (useful maps, scrolling divs etc.) requires string jquery selectors elements. (for example: normalscrollelements: '#element1, .element2')


Comments

Popular posts from this blog

javascript - how to protect a flash video from refresh? -

android - Associate same looper with different threads -

visual studio 2010 - Connect to informix database windows form application -