Open main menu
Home
Random
Log in
Settings
About Drawn to Life Wiki
Disclaimers
Drawn to Life Wiki
Search
Changes
← Older edit
Newer edit →
MediaWiki:Timeless.js
(view source)
Revision as of 06:16, 29 May 2021
22 bytes added
,
06:16, 29 May 2021
test
Line 74:
Line 74:
if ( didScroll ) {
if ( didScroll ) {
didScroll = false;
didScroll = false;
−
var $el;
//Same that all the if else statements
//Same that all the if else statements
switch (true) {
switch (true) {
case (scroll >= 100):
case (scroll >= 100):
−
$
el
= $(
"
#mw-header-container
"
);
+
$
('#mw-header-container').addClass('headerblur');
+
break;
+
case (scroll <
=
100):
+
$(
'
#mw-header-container
').removeClass('headerblur'
);
break;
break;
}
}
−
−
//Removing blue class from all links
−
$('#mw-header-container').addClass('headerblur');
}
}
}, 50);
}, 50);
BakiDance
Bureaucrats
, content-mod,
Forum administrators
,
Interface administrators
, staff,
Suppressors
,
Administrators
6,234
edits