nameOfExtension + "Key": key
: 양식으로 fullpage.js 초기 설정에 있는 옵션을 추가해서 특정 확장 프로그램용 활성화 키를 추가하세요.예시:
var myFullpage = new fullpage('#fullpage', {
fadingEffect: true,
fadingEffectKey: '활성화 키가 여기에 위치해야 합니다',
});
나머지 확장 프로그램을 쓰실 때도 마찬가지입니다. 현재 나와 있는 모든 확장 키 옵션이 아래에 열거되어 있습니다:
fadingEffectKey
responsiveSlidesKey
continuousHorizontalKey
interlockedSlidesKey
scrollHorizontallyKey
resetSlidersKey
offsetSectionsKey
dragAndMoveKey
parallaxKey
cardsKey
확장 프로그램 사용에서도 설명드렸듯이 확장 프로그램을 쓰시려면 보통 쓰는 fullPage.js(fullpage.js
) 파일 대신 꼭 fullpage.extensions.min.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.