Difference between revisions of "MediaWiki:Common.js"

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
 
(252 intermediate revisions by the same user not shown)
Line 1: Line 1:
mw.loader.load( 'https://fonts.googleapis.com/css?family=Crimson+Text:400,400i', 'text/css' );
+
 
mw.loader.load( 'https://fonts.googleapis.com/css?family=PT+Serif:700', 'text/css' );
+
 
 +
// Discover page anchors
 +
$('.fp-arrowUp').click(function(){
 +
    $.fn.fullpage.moveSectionUp();
 +
});
 +
$('.fp-arrowDown').click(function(){
 +
    $.fn.fullpage.moveSectionDown();
 +
});

Latest revision as of 17:26, 16 December 2022

// Discover page anchors
$('.fp-arrowUp').click(function(){
    $.fn.fullpage.moveSectionUp();
});
$('.fp-arrowDown').click(function(){
    $.fn.fullpage.moveSectionDown();
});