Unterschied: MediaWiki:Citizen.js
MediaWiki interface page
Ansichten
Aktionen
Namensräume
Varianten
Werkzeuge
Admin (Diskussion | Beiträge) |
Admin (Diskussion | Beiträge) |
||
Zeile 1: | Zeile 1: | ||
/* All JavaScript here will be loaded for users of the Citizen skin */ | /* All JavaScript here will be loaded for users of the Citizen skin */ | ||
$(window).scroll(function() | $(window).scroll(function() { | ||
{ | if ($(this).scrollTop() > 30) { | ||
if ($(this).scrollTop() > | |||
$('#searchform').addClass('fadeOut'); | $('#searchform').addClass('fadeOut'); | ||
$('#search-toggle').addClass('fadeOut'); | $('#search-toggle').addClass('fadeOut'); |
Version vom 6. Juni 2021, 14:55 Uhr
/* All JavaScript here will be loaded for users of the Citizen skin */
$(window).scroll(function() {
if ($(this).scrollTop() > 30) {
$('#searchform').addClass('fadeOut');
$('#search-toggle').addClass('fadeOut');
$('#search-toggle-icon').addClass('fadeOut');
} else {
$('#searchform').removeClass('fadeOut');
$('#search-toggle').removeClass('fadeOut');
$('#search-toggle-icon').removeClass('fadeOut');
}
});