Difference between revisions of "MediaWiki:Common.js"

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
 
(250 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,700', 'text/css' );
+
 
mw.loader.load( 'https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.5.2/animate.min.css', 'text/css' );
+
 
mw.loader.load( 'https://use.fontawesome.com/bd289233d5.js' );
+
// Discover page anchors
mw.loader.load( 'https://code.jquery.com/ui/1.12.1/jquery-ui.min.js' );
+
$('.fp-arrowUp').click(function(){
 +
    $.fn.fullpage.moveSectionUp();
 +
});
 +
$('.fp-arrowDown').click(function(){
 +
    $.fn.fullpage.moveSectionDown();
 +
});

Latest revision as of 18:26, 16 December 2022

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