You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -436,6 +437,8 @@ In order to prevent fullpage.js from creating the scrollbar in certain sections
436
437
437
438
-`responsiveHeight`: (default `0`) A normal scroll (`autoScrolling:false`) will be used under the defined height in pixels. A class `fp-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.
438
439
440
+
-`responsiveSlides`: (default `false` ) [Extension of fullpage.js](http://alvarotrigo.com/fullPage/extensions/). When set to `true` slides will be turned into vertical sections when responsive mode is fired. (by using the `responsiveWidth` or `responsiveHeight` options detailed above). Requires fullpage.js >= 2.8.5.
441
+
439
442
## Methods
440
443
You can see them in action [here](http://alvarotrigo.com/fullPage/examples/methods.html)
441
444
@@ -585,7 +588,22 @@ $.fn.fullpage.reBuild();
585
588
---
586
589
### setResponsive(boolean)
587
590
[Demo](http://codepen.io/alvarotrigo/pen/WxOyLA) Sets the responsive mode of the page. When set to `true` the autoScrolling will be turned off and the result will be exactly the same one as when the `responsiveWidth` or `responsiveHeight` options get fired.
591
+
---
592
+
### responsiveSlides.toSections()
593
+
[Extension of fullpage.js](http://alvarotrigo.com/fullPage/extensions/). Requires fullpage.js >= 2.8.5.
594
+
Turns horizontal slides into vertical sections.
595
+
596
+
```javascript
597
+
$.fn.fullpage.responsiveSlides.toSections();
598
+
```
599
+
---
600
+
### responsiveSlides.toSlides()
601
+
[Extension of fullpage.js](http://alvarotrigo.com/fullPage/extensions/). Requires fullpage.js >= 2.8.5.
602
+
Turns back the original slides (now converted into vertical sections) into horizontal slides again.
588
603
604
+
```javascript
605
+
$.fn.fullpage.responsiveSlides.toSlides();
606
+
```
589
607
590
608
## Callbacks
591
609
[Demo](http://codepen.io/alvarotrigo/pen/XbPNQv) You can see them in action [here](http://alvarotrigo.com/fullPage/examples/callbacks.html).
0 commit comments