Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also .

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also .
base repository: alvarotrigo/multiscroll.js
Choose a Base Repository
alvarotrigo/multiscroll.js
ARLahan/multiscroll.js
Alaev/multiscroll.js
Allan019/multiscroll.js
Anaizing/multiscroll.js
AnurajRicky/multiscroll.js
BobbyWrath/multiscroll.js
Claire819/multiscroll.js
DigitalLandes/multiscroll.js
Dimosthenis/multiscroll.js
FrancisZ2/multiscroll.js
Gaychou/multiscroll.js
GoodProject/multiscroll.js
Harat/multiscroll.js
IgnetStudio/multiscroll.js
JosephCardwell/multiscroll.js
JsPlugins-org/multiscroll.js
JulianoSousa/multiscroll.js
KAITOVM00/multiscroll.js
Lors/multiscroll.js
MTco/multiscroll.js
Red-Studio/multiscroll.js
SaleemNajjar/multiscroll.js
Savantos/multiscroll.js
Shekharrajak/multiscroll.js
Tellisense/multiscroll.js
UzzairBaharudin/multiscroll.js
Woorg/multiscroll.js
YEIZON/multiscroll.js
Zaptronic/multiscroll.js
aInternational/multiscroll.js
acgregore/multiscroll.js
advertyoga/multiscroll.js
alamofreeman/multiscroll.js
alee1211/multiscroll.js
alexaldama/multiscroll.js
alihalabyah/multiscroll.js
amitabhaghosh197/multiscroll.js
anam5233/multiscroll.js
anuj29/multiscroll.js
aosmichenko/multiscroll.js
ashfanahamed/multiscroll.js
atulya/multiscroll.js
ayalamac/multiscroll.js
bansalnagesh/multiscroll.js
bdphil86/multiscroll.js
benjaminsweetnam247/multiscroll.js
bkristensen/multiscroll.js
burakkp/multiscroll.js
candybud/multiscroll.js
carabina/multiscroll.js
chocobokun/multiscroll.js
coolroad/multiscroll.js
cosapostolo/multiscroll.js
davelahaye/multiscroll.js
davgit/multiscroll.js
davidabm/multiscroll.js
dazunE/multiscroll.js
deirdreisnotagit/multiscroll.js
deividkamui/multiscroll.js
deutschlion/multiscroll.js
dokterpasta/multiscroll.js
dolatabadi/multiscroll.js
dpvenkatesh/multiscroll.js
dsprog/multiscroll.js
duraik3/multiscroll.js
egriboz/multiscroll.js
esaumunive/multiscroll.js
fdolop76/multiscroll.js
fhefh2009/multiscroll.js
fredDesign/multiscroll.js
fritoebola/multiscroll.js
fuzioncloud/multiscroll.js
gavin1990/multiscroll.js
gbrigens/multiscroll.js
geekbrit/multiscroll.js
gnepal7/multiscroll.js
harshlamba/multiscroll.js
hgolshan/multiscroll.js
hmaidasani/multiscroll.js
iLukas/multiscroll.js
iamarif/multiscroll.js
iamshajeer/multiscroll.js
ideesimple/multiscroll.js
iqiancheng/multiscroll.js
isay777/multiscroll.js
ishandutta2007/multiscroll.js
itskawsar/multiscroll.js
ittoufiq/multiscroll.js
janusnic/multiscroll.js
jdwallace12/multiscroll.js
jeremymatter/multiscroll.js
jimmyld/multiscroll.js
jmohammadmirza/multiscroll.js
joemonmathews/multiscroll.js
joeynimu/multiscroll.js
jonny77/multiscroll.js
joseanluo/multiscroll.js
joshj23/multiscroll.js
jpaezsa/multiscroll.js
jqueryalmeida/multiscroll.js
justSanyok/multiscroll.js
jy4618272/multiscroll.js
jzucadi/multiscroll.js
kalburgimanjunath/multiscroll.js
kevinrodbe/multiscroll.js
kiddman/multiscroll.js
kimil/multiscroll.js
konvivial/multiscroll.js
krishna19/multiscroll.js
krrrishh/multiscroll.js
leadbellydesign/multiscroll.js
lemonslicedev/multiscroll.js
leonidche/multiscroll.js
leosiuk/multiscroll.js
liangfflia/multiscroll.js
lichddd/multiscroll.js
liniquer/multiscroll.js
lizzy-creative-covered/multiscroll.js
marcosrivasr/multiscroll.js
marwein/multiscroll.js
mateuszos/multiscroll.js
matstc/multiscroll.js
maximlit/multiscroll.js
mdixon47/multiscroll.js
michele-prandina/multiscroll.js
milapdave/multiscroll.js
milkdeliver/multiscroll.js
modaloda/multiscroll.js
mqxerror/multiscroll.js
mrkai89/multiscroll.js
mustaqsheikh/multiscroll.js
natharman/multiscroll.js
neerajdas/multiscroll.js
netstu/multiscroll.js
niraj-thapa/multiscroll.js
nishantmendiratta/multiscroll.js
noikiy/multiscroll.js
npoku/multiscroll.js
numbnet/multiscroll.js
nvdnkpr/multiscroll.js
officerebel/multiscroll.js
oshri/multiscroll.js
pablotebb/multiscroll.js
pattyP/multiscroll.js
pkitw/multiscroll.js
pmcgriff/multiscroll.js
quatmo/multiscroll.js
renamathai/multiscroll.js
rew-ind/multiscroll.js
rianveal/multiscroll.js
rihankhan/multiscroll.js
rongran/multiscroll.js
sagarawasthi/multiscroll.js
samzoom/multiscroll.js
sanwithz/multiscroll.js
sesay/multiscroll.js
seyedabbasseyedi/multiscroll.js
seyhaheng2/multiscroll.js
shrikanthkr/multiscroll.js
sidtechnical/multiscroll.js
skiokko/multiscroll.js
smartdeal/multiscroll.js
sonukry/multiscroll.js
spankiejoe/multiscroll.js
spnkr/multiscroll.js
sssensiiia/multiscroll.js
stephLaba/multiscroll.js
streeboga/multiscroll.js
surajitdutta101/multiscroll.js
susith8/multiscroll.js
tareko21/multiscroll.js
thanhmabo/multiscroll.js
thisroot/multiscroll.js
touchX/multiscroll.js
tyidnet/multiscroll.js
uykucutosbik/multiscroll.js
v-wolf/multiscroll.js
vadimazzz/multiscroll.js
vasconce7os/multiscroll.js
veremey/multiscroll.js
viator75/multiscroll.js
vmaxtacular/multiscroll.js
w0xter/multiscroll.js
webin/multiscroll.js
webyroki/multiscroll.js
worldwildweb/multiscroll.js
wyHongyang/multiscroll.js
wyysf/multiscroll.js
xenioushk/multiscroll.js
xiow/multiscroll.js
yajinn/multiscroll.js
yanshcherbakovatredspace/multiscroll.js
yashiel/multiscroll.js
yoclove/multiscroll.js
ysakmrkm/multiscroll.js
zartata/multiscroll.js
zenseo/multiscroll.js
zer00ne/multiscroll.js
zonayedpca-zz/multiscroll.js
Nothing to show
base: 0.1.8
head repository: alvarotrigo/multiscroll.js
Choose a Head Repository
alvarotrigo/multiscroll.js
ARLahan/multiscroll.js
Alaev/multiscroll.js
Allan019/multiscroll.js
Anaizing/multiscroll.js
AnurajRicky/multiscroll.js
BobbyWrath/multiscroll.js
Claire819/multiscroll.js
DigitalLandes/multiscroll.js
Dimosthenis/multiscroll.js
FrancisZ2/multiscroll.js
Gaychou/multiscroll.js
GoodProject/multiscroll.js
Harat/multiscroll.js
IgnetStudio/multiscroll.js
JosephCardwell/multiscroll.js
JsPlugins-org/multiscroll.js
JulianoSousa/multiscroll.js
KAITOVM00/multiscroll.js
Lors/multiscroll.js
MTco/multiscroll.js
Red-Studio/multiscroll.js
SaleemNajjar/multiscroll.js
Savantos/multiscroll.js
Shekharrajak/multiscroll.js
Tellisense/multiscroll.js
UzzairBaharudin/multiscroll.js
Woorg/multiscroll.js
YEIZON/multiscroll.js
Zaptronic/multiscroll.js
aInternational/multiscroll.js
acgregore/multiscroll.js
advertyoga/multiscroll.js
alamofreeman/multiscroll.js
alee1211/multiscroll.js
alexaldama/multiscroll.js
alihalabyah/multiscroll.js
amitabhaghosh197/multiscroll.js
anam5233/multiscroll.js
anuj29/multiscroll.js
aosmichenko/multiscroll.js
ashfanahamed/multiscroll.js
atulya/multiscroll.js
ayalamac/multiscroll.js
bansalnagesh/multiscroll.js
bdphil86/multiscroll.js
benjaminsweetnam247/multiscroll.js
bkristensen/multiscroll.js
burakkp/multiscroll.js
candybud/multiscroll.js
carabina/multiscroll.js
chocobokun/multiscroll.js
coolroad/multiscroll.js
cosapostolo/multiscroll.js
davelahaye/multiscroll.js
davgit/multiscroll.js
davidabm/multiscroll.js
dazunE/multiscroll.js
deirdreisnotagit/multiscroll.js
deividkamui/multiscroll.js
deutschlion/multiscroll.js
dokterpasta/multiscroll.js
dolatabadi/multiscroll.js
dpvenkatesh/multiscroll.js
dsprog/multiscroll.js
duraik3/multiscroll.js
egriboz/multiscroll.js
esaumunive/multiscroll.js
fdolop76/multiscroll.js
fhefh2009/multiscroll.js
fredDesign/multiscroll.js
fritoebola/multiscroll.js
fuzioncloud/multiscroll.js
gavin1990/multiscroll.js
gbrigens/multiscroll.js
geekbrit/multiscroll.js
gnepal7/multiscroll.js
harshlamba/multiscroll.js
hgolshan/multiscroll.js
hmaidasani/multiscroll.js
iLukas/multiscroll.js
iamarif/multiscroll.js
iamshajeer/multiscroll.js
ideesimple/multiscroll.js
iqiancheng/multiscroll.js
isay777/multiscroll.js
ishandutta2007/multiscroll.js
itskawsar/multiscroll.js
ittoufiq/multiscroll.js
janusnic/multiscroll.js
jdwallace12/multiscroll.js
jeremymatter/multiscroll.js
jimmyld/multiscroll.js
jmohammadmirza/multiscroll.js
joemonmathews/multiscroll.js
joeynimu/multiscroll.js
jonny77/multiscroll.js
joseanluo/multiscroll.js
joshj23/multiscroll.js
jpaezsa/multiscroll.js
jqueryalmeida/multiscroll.js
justSanyok/multiscroll.js
jy4618272/multiscroll.js
jzucadi/multiscroll.js
kalburgimanjunath/multiscroll.js
kevinrodbe/multiscroll.js
kiddman/multiscroll.js
kimil/multiscroll.js
konvivial/multiscroll.js
krishna19/multiscroll.js
krrrishh/multiscroll.js
leadbellydesign/multiscroll.js
lemonslicedev/multiscroll.js
leonidche/multiscroll.js
leosiuk/multiscroll.js
liangfflia/multiscroll.js
lichddd/multiscroll.js
liniquer/multiscroll.js
lizzy-creative-covered/multiscroll.js
marcosrivasr/multiscroll.js
marwein/multiscroll.js
mateuszos/multiscroll.js
matstc/multiscroll.js
maximlit/multiscroll.js
mdixon47/multiscroll.js
michele-prandina/multiscroll.js
milapdave/multiscroll.js
milkdeliver/multiscroll.js
modaloda/multiscroll.js
mqxerror/multiscroll.js
mrkai89/multiscroll.js
mustaqsheikh/multiscroll.js
natharman/multiscroll.js
neerajdas/multiscroll.js
netstu/multiscroll.js
niraj-thapa/multiscroll.js
nishantmendiratta/multiscroll.js
noikiy/multiscroll.js
npoku/multiscroll.js
numbnet/multiscroll.js
nvdnkpr/multiscroll.js
officerebel/multiscroll.js
oshri/multiscroll.js
pablotebb/multiscroll.js
pattyP/multiscroll.js
pkitw/multiscroll.js
pmcgriff/multiscroll.js
quatmo/multiscroll.js
renamathai/multiscroll.js
rew-ind/multiscroll.js
rianveal/multiscroll.js
rihankhan/multiscroll.js
rongran/multiscroll.js
sagarawasthi/multiscroll.js
samzoom/multiscroll.js
sanwithz/multiscroll.js
sesay/multiscroll.js
seyedabbasseyedi/multiscroll.js
seyhaheng2/multiscroll.js
shrikanthkr/multiscroll.js
sidtechnical/multiscroll.js
skiokko/multiscroll.js
smartdeal/multiscroll.js
sonukry/multiscroll.js
spankiejoe/multiscroll.js
spnkr/multiscroll.js
sssensiiia/multiscroll.js
stephLaba/multiscroll.js
streeboga/multiscroll.js
surajitdutta101/multiscroll.js
susith8/multiscroll.js
tareko21/multiscroll.js
thanhmabo/multiscroll.js
thisroot/multiscroll.js
touchX/multiscroll.js
tyidnet/multiscroll.js
uykucutosbik/multiscroll.js
v-wolf/multiscroll.js
vadimazzz/multiscroll.js
vasconce7os/multiscroll.js
veremey/multiscroll.js
viator75/multiscroll.js
vmaxtacular/multiscroll.js
w0xter/multiscroll.js
webin/multiscroll.js
webyroki/multiscroll.js
worldwildweb/multiscroll.js
wyHongyang/multiscroll.js
wyysf/multiscroll.js
xenioushk/multiscroll.js
xiow/multiscroll.js
yajinn/multiscroll.js
yanshcherbakovatredspace/multiscroll.js
yashiel/multiscroll.js
yoclove/multiscroll.js
ysakmrkm/multiscroll.js
zartata/multiscroll.js
zenseo/multiscroll.js
zer00ne/multiscroll.js
zonayedpca-zz/multiscroll.js
Nothing to show
compare: master
Commits on Sep 11, 2019
Commits on Oct 29, 2019
update docs, add method setMouseWheelScrolling

closes #81
update README.md
@@ -4,8 +4,7 @@
![compatibility](http://alvarotrigo.com/multiScroll/imgs/compatible.gif)

---

![multiScroll.js version](http://img.shields.io/badge/multiscroll.js-v0.1.7-brightgreen.svg)
![multiScroll.js version](http://img.shields.io/badge/multiscroll.js-v0.2.2-brightgreen.svg)
[![License](http://img.shields.io/badge/License-MIT-blue.svg)](http://opensource.org/licenses/MIT)
[![PayPal Donate](https://img.shields.io/badge/donate-PayPal.me-ff69b4.svg)](https://www.paypal.me/alvarotrigo/9.95)
   **|**   *3.7Kb gziped*   **|**   *Created by [@imac2](https://twitter.com/imac2)*
@@ -133,6 +132,8 @@ $(document).ready(function() {
paddingTop: 0,
paddingBottom: 0,
normalScrollElements: null,
scrollOverflow: false,
scrollOverflowOptions: null,
keyboardScrolling: true,
touchSensitivity: 5,
@@ -220,6 +221,10 @@ It requires the file `vendors/jquery.easings.min.js` or [jQuery UI](http://jquer

- `normalScrollElements`: (default `null`) If you want to avoid the auto scroll when scrolling over some elements, this is the option you need to use. (useful for maps, scrolling divs etc.) It requires a string with the jQuery selectors for those elements. (For example: `normalScrollElements: '#element1, .element2'`)

- `scrollOverflow`: (default `false`) [Demo](https://alvarotrigo.com/multiScroll/extensions/scrollOverflow.html) | [Extension of multiScroll.js](http://alvarotrigo.com/multiScroll/extensions/). (not compatible with IE 8) defines whether or not to create a scroll bar for the section/slide in case its content is bigger than the viewport's height. When set to `true`, your content will be wrapped by multiScroll.js. Consider using delegation or load your other scripts in the `afterRender` callback.

- `scrollOverflowOptions`: (default `null`) when using `scrollOverflow:true` multiScroll.js will make use of a forked and modified version of [iScroll.js library](https://github.com/cubiq/iscroll/). You can customize the scrolling behaviour by providing multiScroll.js with the iScroll.js options you want to use. Check its [documentation](http://iscrolljs.com/) for more info.

- `keyboardScrolling`: (default `true`) Defines if the content can be navigated using the keyboard

- `touchSensitivity`: (default 5) Defines a percentage of the browsers window width/height, and how far a swipe must measure for navigating to the next section.
@@ -254,11 +259,11 @@ $('#multiscroll').multiscroll({

- `rightSelector`: (default `.ms-right`) You can use own class name for right block.

- `responsiveWidth`: (default `0`) Normal scroll will be used under the defined width in pixels. A class `ms-responsive` is added to the body tag in case the user wants to use it for his own responsive CSS. For example, if set to 900, whenever the browser's width is less than 900 the plugin will scroll like a normal site.
- `responsiveWidth`: (default `0`) Only useful when using the option `responsiveExpand`. Normal scroll will be used under the defined width in pixels. A class `ms-responsive` is added to the body tag in case the user wants to use it for his own responsive CSS. For example, if set to 900, whenever the browser's width is less than 900 the plugin will scroll like a normal site.

- `responsiveHeight`: (default `0`) Normal scroll will be used under the defined height in pixels. A class `ms-responsive` is added to the body tag in case the user wants to use it for his own responsive CSS. For example, if set to 900, whenever the browser's height is less than 900 the plugin will scroll like a normal site.
- `responsiveHeight`: (default `0`) Only useful when using the option `responsiveExpand`. Normal scroll will be used under the defined height in pixels. A class `ms-responsive` is added to the body tag in case the user wants to use it for his own responsive CSS. For example, if set to 900, whenever the browser's height is less than 900 the plugin will scroll like a normal site.

- `responsiveExpand`: (default `false`) [Extension of multiScroll.js](http://alvarotrigo.com/multiScroll/extensions/). When responsive mode is fired (by using the `responsiveWidth` or `responsiveHeight` options detailed above) it turns auto scrolling off and expands each left and right side into a full-width section placing one after another. Then the page can be scrolled normally. [Read more about how to use the Responsive Expand option.](https://github.com/alvarotrigo/multiscroll.js/wiki/Responsive-Expand-Extension)
- `responsiveExpand`: (default `false`) [Demo](https://alvarotrigo.com/multiScroll/extensions/responsive-expand.html) | [Extension of multiScroll.js](http://alvarotrigo.com/multiScroll/extensions/). When responsive mode is fired (by using the `responsiveWidth` or `responsiveHeight` options detailed above) it turns auto scrolling off and expands each left and right side into a full-width section placing one after another. Then the page can be scrolled normally. [Read more about how to use the Responsive Expand option.](https://github.com/alvarotrigo/multiscroll.js/wiki/Responsive-Expand-Extension)

## Methods

@@ -287,6 +292,13 @@ $.fn.multiscroll.moveTo('firstSection');
$.fn.multiscroll.moveTo(3);
```

### setMouseWheelScrolling
Adds or remove the possibility of scrolling through sections by using mouse wheel (which is active by default).

```javascript
$.fn.multiscroll.setMouseWheelScrolling(false);
```

### setKeyboardScrolling
Adds or remove the possibility of scrolling through sections by using the keyboard arrow keys (which is active by default).

@@ -360,7 +372,7 @@ Example:

```javascript
$('#multiscroll').multiscroll({
onLeave: function(index, direction){
onLeave: function(index, nextIndex, direction){
//after leaving section 2
if(index == '2' && direction =='down'){
alert("Going to section 3!");
@@ -416,14 +428,27 @@ Want to build multiscroll.js distribution files? Please see [Build Tasks](https:
- [Wordpress theme](https://goo.gl/kaTYZb)

## Who is using multiscroll.js
If you want your page to be listed here. Please <a href="mailto:alvaro@alvarotrigo.com">contact me</a> with the URL
If you want your page to be listed here. Please <a href="mailto:alvaro@alvarotrigo.com">contact me</a> with the URL.

- http://homecoming.nust.edu.pk/
- http://www.lob.com.mx/primavera15
- http://www.proviotic.com/
- http://noisacco.fr/mumm/#first
- http://designova.net/reflex/index07.html
- [Themify](https://goo.gl/kaTYZb)
- http://designova.net/reflex/index07.html
- https://www.genscher.com
- http://betterhr.de
- https://www.kurasino.co.jp
- http://www.lhaulhaumaria.com
- https://thewastedhour.com
- http://restaurant-eveil.com
- https://www.tischlerei-clemens.de/tischlerei.html
- http://www.ateliers-romeo.com
- https://buerobinder.de
- https://www.blancacre.com
- http://caporasosrls.com
- https://www.epic.ch/de/home
- https://www.paulsbuero.com
- http://ruiferraodev.net
- http://lucasfleischer.com
- https://quintushortus.com/pages/le-concept


## Donations
Donations would be more than welcome :)
@@ -1,6 +1,6 @@
{
"name": "multiscroll.js",
"version": "0.1.7",
"version": "0.2.2",
"homepage": "http://alvarotrigo.com/multiScroll/",
"authors": [
"Alvaro Trigo https://github.com/alvarotrigo"
@@ -1,5 +1,5 @@
/*!
* multiscroll.js 0.1.7 Beta
* multiscroll.js 0.2.2
* https://github.com/alvarotrigo/multiscroll.js
* @license MIT licensed
*
@@ -8,8 +8,8 @@
html, body {
margin: 0;
padding: 0;
overflow:hidden;
-webkit-tap-highlight-color: rgba(0,0,0,0);
overflow:hidden;
-webkit-tap-highlight-color: rgba(0,0,0,0);
}
.ms-section {
position: relative;
@@ -97,3 +97,16 @@ html, body {
.multiscroll-tooltip.left {
left: 20px;
}
.ms-responsive .ms-hide{
display: none;
}
.ms-scrollable {
overflow: hidden;
position: relative;
}
.ms-scroller{
overflow: hidden;
}
.iScrollIndicator{
border: 0 !important;
}

No commit comments for this range

You can’t perform that action at this time.