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:25, 29 May 2021
5 bytes added
,
06:25, 29 May 2021
no edit summary
Line 68:
Line 68:
function scrollFunction() {
function scrollFunction() {
−
if (document.body.scrollTop >
100
|| document.documentElement.scrollTop >
100
) {
+
if (document.body.scrollTop >
200
|| document.documentElement.scrollTop >
200
) {
−
document.getElementById("mw-header-container").
style
.
background =
"
white
";
+
document.getElementById("mw-header-container").
classList
.
add(
"
headerblur
"
)
;
} else {
} else {
−
document.getElementById("mw-header-container").
style
.
background =
"
black
";
+
document.getElementById("mw-header-container").
classList
.
remove(
"
headerblur
"
)
;
}
}
}
}
BakiDance
Bureaucrats
, content-mod,
Forum administrators
,
Interface administrators
, staff,
Suppressors
,
Administrators
6,234
edits