nameOfExtension + "Key": key
。例如:
var myFullpage = new fullpage('#fullpage', {
fadingEffect: true,
fadingEffectKey: '激活密钥应在这里',
});
如果您已使用扩展,则其余的扩展名也是如此。 以下是目前所有的扩展关键字选项:
fadingEffectKey
responsiveSlidesKey
continuousHorizontalKey
interlockedSlidesKey
scrollHorizontallyKey
resetSlidersKey
offsetSectionsKey
dragAndMoveKey
parallaxKey
cardsKey
请记住,如扩展的使用[]中所介绍的,使用扩展需要调用fullpage.extensions.min.js
,而不像平常的fullPage.js文件(fullpage.js
)那样使用扩展。
No activation key is necessary for localhost and 127.0.0.1. Any other staging domains will require a license (Professional or Business) that allows to generate a new key for those.
If you have a license that allows you to generate multiple activation keys you might want to use the same JS code for all of them. In this case you can use an array with the different keys for each domain, for example, if we are using the scrollHorizontally
extension for 3 domains, we can do the following:
new fullPage('#fullpage', {
scrollHorizontally: true,
scrollHorizontallyKey: ['domain1_key', 'domain2_key', 'domain3_key']
});
This way the extension can be used in any of those 3 domains.
两者是不同的密钥。
许可证密钥由4组字符组成,每组字符为8个字符(XXXXXXXX-XXXXXXXX-XXXXXXXX-XXXXXXXX
)。激活密钥的长度可变,且不是由分隔的字符组组成(XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
)。不要将两者混淆。