MediaWiki:SupportPage.js: Difference between revisions

Jump to navigation Jump to search
Content deleted Content added
update scroll offset for new design
add a little more offset
Line 32: Line 32:


// Add smooth scrolling effect
// Add smooth scrolling effect
var scrollOffset = 60, // Offset in px
var scrollOffset = 65, // Offset in px
scrollDuration = 500, // in ms
scrollDuration = 500, // in ms
smoothScroll = function(event) {
smoothScroll = function(event) {