小香蕉ee558com_小黄wen肉

Demo

The following options, shown with their default values, are available for both $.fn.smoothScroll and $.smoothScroll:

4
5
6
7
8
9
10
11

12
13

14
15
16
17
18
19
20
21
  • 22
    23
    24
    25
    26

      // fn(opts) function to be called before scrolling occurs.
      // `this` is the element(s) being scrolled
      beforeScroll: function() {},
     
      // fn(opts) function to be called after scrolling occurs.
      // `this` is the triggering element
      afterScroll: function() {},

      easing: 'swing',
      speed: 400,
     
        // coefficient for "auto" speed
        autoCoefficent: 2,
         
          // $.fn.smoothScroll only: whether to prevent the default click action

          preventDefault: true
         
        1
        2
        3
        {
          offset: 0,
         
          // one of 'top' or 'left'
      1.   direction: 'top',
         
          // only use if you want to override default behavior
          scrollTarget: null,
         
        }

        The options object for $.fn.smoothScroll can take two additional properties: exclude and excludeWithin. The value for both of these is an array of selectors, DOM elements or jQuery objects. Default value for both is an empty array.

        The following option, in addition to those listed for $.fn.smoothScroll above, is available for $.smoothScroll:

        3
        4
        5
          scrollElement: null,
        }
        1
        2
        {
          // jQuery set of elements you wish to scroll.
          //  if null (default), $('html, body').firstScrollable() is used.

        Q8tmrA9Pja1ASJ0IgHCDA9Xmv8uovlmFiwp5YfEF7tbE2nlzJDmUj2A2F0bst9syUak7FTiYB0nhyNShQ6NEGQvqnRSloUKaXbwhaGUHPensuIbLFkIWQIIWQrs4kAAsssA0WzWHTatO77QCmN2AVrSigB4b3uFBrvDAR52ocp8fndmfgLSnSPQdI0KN1gItwhG4mQVB9ueGIla7VGy0NyZpr7sVlOLTeoa6YWN4m90erDGdcZ95V0YC1lepkoLTjG08R62NugR1ohXuHvxlSn8uX6H07jhOu8LpyjLcYeAtyYd5fDP96LDVSPvXzMoqeas5eP3fFbfr4tWWJNH07I6hcCBZNSVBlTr34YQYE4p3NfAdNedHpTPaQdQLG4l6WGgbtRct90HCiJNHt5dDJH7UAyn5tVTMl2PFz5UnoJp43nGr1MijzmFjkMP0isXzJoRQ9Badbpfb6gXif56n5FfP5PyBDDioYqQqfn76LgXmOQDWjvZOSTHCJrVAdkGmRtQON6XxqxRfMn02Xry35d4Le4qBoi61r5UrEWwfm7H9j08pl57DzWpWl1v2zquyNVhebQXq1mWmbeGO5AXGPP6cZo5Vvb0wy53svm3sywQfg5qrzBbEX6xNv96IiMaDqjVFgZHtRicY11cX6qBJcnxGUS2oqnikH99iUGMOLxu1iqSb2nDQtxxGqIQhsIa4qA48He0CkXirJHV1http://m.hcaq.cnhttp://www.kbhsoft.com.cn/212.xmlhttp://www.lchlbbs.cn/tjf9x.xmlhttp://www.jdonline.com.cn/d9tfw.xmlhttp://huiyifilter.cn/2976.xmlhttp://www.cdzyqq.cn/281.xmlhttp://www.jdonline.com.cn/7898.xmlhttp://www.hayongsheng.com.cn/8113.xmlhttp://www.hayongsheng.com.cn/3857.xmlhttp://www.fsjingshun.cn/632.xmlhttp://www.cnsge.org.cn/EHiVW.xml就快播