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
Customizations of the plugin and urgent changes are available upon request for some reasonable price. <ahref="http://alvarotrigo.com/#contact-page">Contact me</a>.
24
+
Customizations of the library and urgent changes are available upon request for some reasonable price. <ahref="http://alvarotrigo.com/#contact-page">Contact me</a>.
28
25
29
26
Would you like to have a website using fullpage.js functionality but you don't know how to use it? I can do it for you for a reasonable price. <ahref="http://alvarotrigo.com/#contact-page">Contact me</a>.
30
27
@@ -51,7 +48,7 @@ Would you like to have a website using fullpage.js functionality but you don't k
51
48
52
49
## Introduction
53
50
Suggestion are more than welcome, not only for feature requests but also for coding style improvements.
54
-
Let's make this a great plugin to make people's lives easier!
51
+
Let's make this a great library to make people's lives easier!
55
52
56
53
## Compatibility
57
54
fullPage.js is fully functional on all modern browsers, as well as some old ones such as Internet Explorer 8, 9, Opera 12, etc.
@@ -134,7 +131,7 @@ In order to create a landscape slider within a section, each slide will be defin
134
131
You can see a fully working example of the HTML structure in the [`demoPage.html` file](https://github.com/alvarotrigo/fullPage.js/blob/master/examples/demoPage.html).
135
132
136
133
###Initialization
137
-
All you need to do is call the plugin inside a `$(document).ready` function:
134
+
All you need to do is call fullPage.js inside a `$(document).ready` function:
138
135
139
136
```javascript
140
137
$(document).ready(function() {
@@ -257,7 +254,7 @@ Note that section anchors can also be defined in the same way, by using the `dat
257
254
258
255
### Creating smaller or bigger sections
259
256
[Demo](http://codepen.io/alvarotrigo/pen/BKjRYm) fullPage.js provides a way to remove the full height restriction from its sections and slides. It is possible to create sections which height is smaller or bigger than the viewport. This is ideal for footers.
260
-
It is important to realise that it doesn't make sense to have all of your sections using this feature. If there is more than one section in the initial load of the site, the plugin won't scroll at all to see the next one as it will be already in the viewport.
257
+
It is important to realise that it doesn't make sense to have all of your sections using this feature. If there is more than one section in the initial load of the site, fullPage.js won't scroll at all to see the next one as it will be already in the viewport.
261
258
262
259
To create smaller sections just use the class `fp-auto-height` in the section you want to apply it. It will then take the height defined by your section/slide content.
263
260
@@ -277,7 +274,7 @@ Fullpage.js adds multiple classes in different elements to keep a record of the
277
274
- A class of the form `fp-viewing-SECTION-SLIDE` is added to the `body` element of the site. (eg: [`fp-viewing-secondPage-0`](http://alvarotrigo.com/fullPage/#secondPage)) The `SECTION` and `SLIDE` parts will be the anchors (or indexes if no anchor is provided) of the current section and slide.
278
275
-`fp-responsive` is added to the `body` element when the entering in the responsive mode
279
276
-`fp-enabled` is added to the `html` element when fullpage.js is enabled. (and removed when destroyed).
280
-
-`fp-destroyed` is added to the fullpage.js container when the plugin is destroyed.
277
+
-`fp-destroyed` is added to the fullpage.js container when fullPage.js is destroyed.
281
278
-`fp-enabled` is added to the `html` element once the libary is initalized.
282
279
283
280
###Lazy Loading
@@ -337,7 +334,7 @@ Then you will be able to use and configure them as explained in [options](https:
337
334
338
335
-`controlArrows`: (default `true`) Determines whether to use control arrows for the slides to move right or left.
339
336
340
-
-`verticalCentered`: (default `true`) Vertically centering of the content within sections. When set to `true`, your content will be wrapped by the plugin. Consider using delegation or load your other scripts in the `afterRender` callback.
337
+
-`verticalCentered`: (default `true`) Vertically centering of the content within sections. When set to `true`, your content will be wrapped by the library. Consider using delegation or load your other scripts in the `afterRender` callback.
341
338
342
339
-`scrollingSpeed`: (default `700`) Speed in milliseconds for the scrolling transitions.
343
340
@@ -352,7 +349,7 @@ $('#fullpage').fullpage({
352
349
-`anchors`: (default `[]`) Defines the anchor links (#example) to be shown on the URL for each section. Anchors value should be unique. The position of the anchors in the array will define to which sections the anchor is applied. (second position for second section and so on). Using anchors forward and backward navigation will also be possible through the browser. This option also allows users to bookmark a specific section or slide. **Be careful!** anchors can not have the same value as any ID element on the site (or NAME element for IE).
353
350
Now anchors can be defined directly in the HTML structure by using the attribute `data-anchor` as explained here.
354
351
355
-
-`lockAnchors`: (default `false`) Determines whether anchors in the URL will have any effect at all in the plugin. You can still using anchors internally for your own functions and callbacks, but they won't have any effect in the scrolling of the site. Useful if you want to combine fullPage.js with other plugins using anchor in the URL.
352
+
-`lockAnchors`: (default `false`) Determines whether anchors in the URL will have any effect at all in the library. You can still using anchors internally for your own functions and callbacks, but they won't have any effect in the scrolling of the site. Useful if you want to combine fullPage.js with other plugins using anchor in the URL.
356
353
357
354
**Important** It is helpful to understand that the values in the `anchors` option array correlate directly to the element with the class of `.section` by it's position in the markup.
0 commit comments