MediaWiki:Common.js: Διαφορά μεταξύ των αναθεωρήσεων
imported>Trace Project Χωρίς σύνοψη επεξεργασίας |
Χωρίς σύνοψη επεξεργασίας |
||
(18 ενδιάμεσες εκδόσεις από 2 χρήστες δεν εμφανίζονται) | |||
Γραμμή 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, }); } }