MediaWiki:Common.css: verschil tussen versies

Uit wiki.lasso-concepten.nl

Geen bewerkingssamenvatting
Geen bewerkingssamenvatting
Regel 16: Regel 16:
}
}
});
});
/** Back-to-top Button
<span id="BackToTop"></span>
<div class="noprint" style="background-color:#FAFAFA; position:fixed; bottom:2%; left:0.25%; padding:0; margin:0;">
[[#BackToTop|Back to the Top]]
</div>

Versie van 27 feb 2023 19:35

/** CSS die hier wordt geplaatst heeft invloed op alle vormgevingen */
/** #toc {float:right;margin:0 0 1em 1em;position:fixed;top:150px;right:10px;};
/** #tocnumber {display:none;}
/** Back-to-top Function 
$( function () {
	var elems = document.getElementsByClassName('editsection'); // *** NOTE: ClassName may need to be 'mw-editsection' instead
	for (i = 0; i < elems.length; i++) {
		var span = document.createElement('span');
		var link = document.createElement('a');
		link.href = '#top';
		link.appendChild(document.createTextNode('back to top'));
		span.appendChild(document.createTextNode('['));
		span.appendChild(link);
		span.appendChild(document.createTextNode('] '));
		elems[i].insertBefore(span, elems[i].firstChild);
	}
});
/** Back-to-top Button
<span id="BackToTop"></span>
<div class="noprint" style="background-color:#FAFAFA; position:fixed; bottom:2%; left:0.25%; padding:0; margin:0;">
[[#BackToTop|Back to the Top]]
</div>