MediaWiki:Common.js
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
// Discover page anchors
$('.fp-arrowUp').click(function(){
$.fn.fullpage.moveSectionUp();
});
$('.fp-arrowDown').click(function(){
$.fn.fullpage.moveSectionDown();
});
// Move Discover slide buttons to bottom navigation anchors
$(document).ready(function() {
$('.fp-slidesNav > ul > li:nth-child(1) > a').load('# #SlideOneButton');
$('.fp-slidesNav > ul > li:nth-child(2) > a').load('# #SlideTwoButton');
$('.fp-slidesNav > ul > li:nth-child(3) > a').load('# #SlideThreeButton');
$('.fp-slidesNav > ul > li:nth-child(4) > a').load('# #SlideFourButton');
$('.fp-slidesNav > ul > li:nth-child(5) > a').load('# #SlideFiveButton');
$('.fp-slidesNav > ul > li:nth-child(6) > a').load('# #SlideSixButton');
});