Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to set iScroll options in the integrated bar extension #7

Closed
giuliano opened this issue Oct 13, 2010 · 2 comments
Closed

How to set iScroll options in the integrated bar extension #7

giuliano opened this issue Oct 13, 2010 · 2 comments

Comments

@giuliano
Copy link

How/Where can i set to set iScroll options in the integrated bar extension? I mean the ones listed in the Syntax section of this page http://cubiq.org/iscroll.
Thanks

@DataZombies
Copy link
Owner

Look for...

          $(this).data('iscroll', new iScroll($pane.attr('id'), {
            bounceLock: true,
            desktopCompatibility: true,
            hScrollbar: false,
            vScrollbar: false
          }));

BTW, this is the line for the scrolling middle section...

      var scroll = new iScroll($('.s-scrollpane', this).attr('id'), {
        hScrollbar: false,
        desktopCompatibility: true
      });

@DataZombies
Copy link
Owner

Yes
On Mar 14, 2011, at 6:15 AM, plusproduit wrote:

Hi,

I really need two types of scrolling, is it possible to just add:


var scroll2 = new iScroll($('.s-scrollpane', this).attr('id'), {
       hScrollbar: false,
       desktopCompatibility: true
     });

#7 (comment)

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants