Skip to content

Commit 01d8748

Browse files
committed
- Updating version and dist files
1 parent 74aae0a commit 01d8748

File tree

17 files changed

+60
-21
lines changed

17 files changed

+60
-21
lines changed

BACKERS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,4 +51,4 @@ Want to be in the list? [Contact me](https://alvarotrigo.com/#contact) | [Become
5151
</td>
5252
</tr>
5353
</tbody>
54-
</table>
54+
</table>

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
---
1919

20-
![fullPage.js version](http://img.shields.io/badge/fullPage.js-v3.0.9-brightgreen.svg)
20+
![fullPage.js version](http://img.shields.io/badge/fullPage.js-v3.1.0-brightgreen.svg)
2121
[![License](https://img.shields.io/badge/License-GPL-blue.svg)](https://www.gnu.org/licenses/gpl-3.0.html)
2222
[![PayPal Donate](https://img.shields.io/badge/donate-PayPal.me-ff69b4.svg)](https://www.paypal.me/alvarotrigo/9.95)
2323
[![jsDelivr Hits](https://data.jsdelivr.com/v1/package/npm/fullpage.js/badge?style=rounded)](https://www.jsdelivr.com/package/npm/fullpage.js)
@@ -242,6 +242,8 @@ var myFullpage = new fullpage('#fullpage', {
242242
responsiveSlides: false,
243243
parallax: false,
244244
parallaxOptions: {type: 'reveal', percentage: 62, property: 'translate'},
245+
dropEffect: false,
246+
dropEffectOptions: { speed: 2300, color: '#F82F4D', zIndex: 9999},
245247
cards: false,
246248
cardsOptions: {perspective: 100, fadeContent: true, fadeBackground: true},
247249

@@ -534,6 +536,8 @@ You can also prevent scrolloverflow from getting applied on responsive mode when
534536

535537
- `parallaxOptions`: (default: `{ type: 'reveal', percentage: 62, property: 'translate'}`). Allows to configure the parameters for the parallax backgrounds effect when using the option `parallax:true`. [Read more about how to apply the parallax option](https://github.com/alvarotrigo/fullPage.js/wiki/Extension---Parallax).
536538

539+
- `dropEffect` (default `false`) [Extension of fullpage.js](http://alvarotrigo.com/fullPage/extensions/). Defines whether or not to use the drop effect on sections / slides. [Read more about how to apply the the drop effect option](https://github.com/alvarotrigo/fullPage.js/wiki/Extension-Drop-Effect).
540+
537541
- `cards`: (default `false`) [Extension of fullpage.js](http://alvarotrigo.com/fullPage/extensions/). Defines whether or not to use the cards effect on sections/slides. [Read more about how to apply the cards option](https://github.com/alvarotrigo/fullPage.js/wiki/Extension-Cards).
538542

539543
- `cardsOptions`: (default: `{ perspective: 100, fadeContent: true, fadeBackground: true}`). Allows you to configure the parameters for the cards effect when using the option `cards:true`. [Read more about how to apply the cards option](https://github.com/alvarotrigo/fullPage.js/wiki/Extension-Cards).

dist/fullpage.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* fullPage 3.0.9
2+
* fullPage 3.1.0
33
* https://github.com/alvarotrigo/fullPage.js
44
*
55
* @license GPLv3 for open source use only

dist/fullpage.extensions.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/fullpage.js

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,6 @@
535535
silentMoveTo(sectionIndex + 1);
536536
}
537537

538-
isResizing = false;
539538
if(isFunction( options.afterResize ) && resizing){
540539
options.afterResize.call(container, window.innerWidth, window.innerHeight);
541540
}
@@ -587,7 +586,7 @@
587586

588587
if(container){
589588
//public functions
590-
FP.version = '3.0.8';
589+
FP.version = '3.1.0';
591590
FP.setAutoScrolling = setAutoScrolling;
592591
FP.setRecordHistory = setRecordHistory;
593592
FP.setScrollingSpeed = setScrollingSpeed;
@@ -1899,6 +1898,8 @@
18991898
var scrollSettings = getScrollSettings(v.dtop);
19001899
FP.test.top = -v.dtop + 'px';
19011900

1901+
css($htmlBody, {'scroll-behavior': 'unset'});
1902+
19021903
scrollTo(scrollSettings.element, scrollSettings.options, options.scrollingSpeed, function(){
19031904
if(options.scrollBar){
19041905

@@ -2666,8 +2667,6 @@
26662667
* Resize event handler.
26672668
*/
26682669
function resizeHandler(){
2669-
isResizing = true;
2670-
26712670
clearTimeout(resizeId);
26722671

26732672
//in order to call the functions only when the resize is finished
@@ -2687,6 +2686,7 @@
26872686
* When resizing the site, we adjust the heights of the sections, slimScroll...
26882687
*/
26892688
function resizeActions(){
2689+
isResizing = true;
26902690

26912691
//checking if it needs to get responsive
26922692
responsive();
@@ -2709,6 +2709,8 @@
27092709
else{
27102710
adjustToNewViewport();
27112711
}
2712+
2713+
isResizing = false;
27122714
}
27132715

27142716
/**
@@ -3453,7 +3455,7 @@
34533455

34543456
if(!isOK){
34553457
showError('error', 'Fullpage.js version 3 has changed its license to GPLv3 and it requires a `licenseKey` option. Read about it here:');
3456-
showError('error', 'https://github.com/alvarotrigo/fullPage.js#options.');
3458+
showError('error', 'https://github.com/alvarotrigo/fullPage.js#options');
34573459
}
34583460
else if(l && l.length < 20){
34593461
console.warn('%c This website was made using fullPage.js slider. More info on the following website:', msgStyle);

dist/fullpage.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/fullpage.min.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/fullpage.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/fullpage.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lang/chinese/README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
---
1818

19-
![fullPage.js version](http://img.shields.io/badge/fullPage.js-v3.0.9-brightgreen.svg)
19+
![fullPage.js version](http://img.shields.io/badge/fullPage.js-v3.1,0-brightgreen.svg)
2020
[![License](https://img.shields.io/badge/License-GPL-blue.svg)](https://www.gnu.org/licenses/gpl-3.0.html)
2121
[![PayPal Donate](https://img.shields.io/badge/donate-PayPal.me-ff69b4.svg)](https://www.paypal.me/alvarotrigo/9.95)
2222
[![jsDelivr Hits](https://data.jsdelivr.com/v1/package/npm/fullpage.js/badge?style=rounded)](https://www.jsdelivr.com/package/npm/fullpage.js)
@@ -240,6 +240,8 @@ var myFullpage = new fullpage('#fullpage', {
240240
responsiveSlides: false,
241241
parallax: false,
242242
parallaxOptions: {type: 'reveal', percentage: 62, property: 'translate'},
243+
dropEffect: false,
244+
dropEffectOptions: { speed: 2300, color: '#F82F4D', zIndex: 9999},
243245
cards: false,
244246
cardsOptions: {perspective: 100, fadeContent: true, fadeBackground: true},
245247

@@ -533,6 +535,11 @@ new fullpage('#fullpage', {
533535

534536
- `parallaxOptions`: (默认:`{type:'reveal',percent:62,property:'translate'}`)。 允许在使用选项 parallax:true 时配置视差背景效果的参数。 [详细了解如何应用视差选项](https://github.com/alvarotrigo/fullPage.js/blob/master/lang/chinese/parallax-extension.md).
535537

538+
539+
- `dropEffect` (default `false`) [Extension of fullpage.js](http://alvarotrigo.com/fullPage/extensions/). Defines whether or not to use the drop effect on sections / slides. [Read more about how to apply the the drop effect option](https://github.com/alvarotrigo/fullPage.js/wiki/Extension-Drop-Effect).
540+
541+
- `dropEffectOptions`: (default: `{ speed: 2300, color: '#F82F4D', zIndex: 9999}`). Allows to configure the parameters for the drop effect when using the option `dropEffect:true`.[Read more about how to apply the the drop effect option](https://github.com/alvarotrigo/fullPage.js/wiki/Extension-Drop-Effect).
542+
536543
- `cards`: (default `false`) [Extension of fullpage.js](http://alvarotrigo.com/fullPage/extensions/) . 定义是否在 section/slide 上使用卡片效果。[了解有关如何应用卡片选项的更多信息](https://github.com/alvarotrigo/fullPage.js/wiki/Extension-Cards).
537544

538545
- `cardsOptions`: (default: `{ perspective: 100, fadeContent: true, fadeBackground: true}`). 允许您在使用选项 `cards:true` 时配置卡片效果的参数。 [了解有关如何应用卡片选项的更多信息](https://github.com/alvarotrigo/fullPage.js/wiki/Extension-Cards).

0 commit comments

Comments
 (0)