DataZombies / jQTouch

jQT extensions jqt.activityIndicator, jqt.bars (with numeric badges), jqt.checkGroup & jqt.segmentedControl.Get updates via Twitter http://twitter.com/HeadDZombie. If you find this fork useful please make a donation via PayPal (http://tinyurl.com/2fpmx27). See below for demo links.
MIT License
159 stars 34 forks source link

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

Closed giuliano closed 13 years ago

giuliano commented 13 years ago

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 commented 13 years ago

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 commented 13 years ago

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
     });

https://github.com/DataZombies/jQTouch/issues/7#comment_868386