MediaWiki:Common.js: Διαφορά μεταξύ των αναθεωρήσεων
Χωρίς σύνοψη επεξεργασίας |
Χωρίς σύνοψη επεξεργασίας |
||
| (12 ενδιάμεσες αναθεωρήσεις από τον ίδιο χρήστη δεν εμφανίζεται) | |||
| Γραμμή 1: | Γραμμή 1: | ||
$(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, | |||
}); | |||
} | |||
} | |||
Τελευταία αναθεώρηση της 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,
});
}
}