MediaWiki:Common.js: Διαφορά μεταξύ των αναθεωρήσεων
Χωρίς σύνοψη επεξεργασίας |
Χωρίς σύνοψη επεξεργασίας |
||
| (Μία ενδιάμεση αναθεώρηση από τον ίδιο χρήστη δεν εμφανίζεται) | |||
| Γραμμή 1: | Γραμμή 1: | ||
$(document).ready(function () { | $(document).ready(function () { | ||
$('.scroll-control .one').click(function () { | $('.scroll-control .one').click(function () { | ||
| Γραμμή 14: | Γραμμή 14: | ||
}); | }); | ||
function applyScroll() { | function applyScroll() { | ||
$.scrollify({ | $.scrollify({ | ||
| Γραμμή 27: | Γραμμή 24: | ||
offset: 0, | offset: 0, | ||
scrollbars: true, | scrollbars: true, | ||
setHeights: | setHeights: true, | ||
overflowScroll: true, | overflowScroll: true, | ||
updateHash: false, | updateHash: false, | ||
| Γραμμή 34: | Γραμμή 31: | ||
} | } | ||
} | } | ||
Τελευταία αναθεώρηση της 23:54, 15 Φεβρουαρίου 2023
$(document).ready(function () {
$('.scroll-control .one').click(function () {
$.scrollify.move('#s-one');
});
$('.scroll-control .two').click(function () {
$.scrollify.move('#s-two');
});
$('.scroll-control .three').click(function () {
$.scrollify.move('#s-three');
});
});
function applyScroll() {
$.scrollify({
section: '.scroll',
sectionName: 'section-name',
//standardScrollElements: 'section',
easing: 'easeOutExpo',
scrollSpeed: 1100,
offset: 0,
scrollbars: true,
setHeights: true,
overflowScroll: true,
updateHash: false,
touchScroll: true,
});
}
}