MediaWiki:Common.js: Διαφορά μεταξύ των αναθεωρήσεων
Χωρίς σύνοψη επεξεργασίας |
Χωρίς σύνοψη επεξεργασίας |
||
| Γραμμή 24: | Γραμμή 24: | ||
offset: 0, | offset: 0, | ||
scrollbars: true, | scrollbars: true, | ||
setHeights: | setHeights: true, | ||
overflowScroll: true, | overflowScroll: true, | ||
updateHash: false, | updateHash: false, | ||
Τελευταία αναθεώρηση της 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,
});
}
}