MediaWiki:Oodo.js: Różnice pomiędzy wersjami

Z RPedia
Nie podano opisu zmian
Nie podano opisu zmian
 
(Nie pokazano 2 pośrednich wersji utworzonych przez tego samego użytkownika)
Linia 1: Linia 1:
$(function () {
$(function () {
var myPlace = document.getElementById('tpl-example-placeholder');
(function() { window.OodoPl = window.OodoPl || {}; OodoPl.config = OodoPl.config || []; OodoPl.config.push( { uid: 37, klauzid: 21, rand: 'LYaj', lang: 'pl', css: false } ); var script = document.createElement('script'); script.src = 'https://my.oodo.pl/pl/klauzula/37-21-LYaj'; script.async = true; var entry = document.getElementsByTagName('script')[0]; entry.parentNode.insertBefore(script, entry); })();
myPlace.innerHTML = 'any HTML';
<div id="myOodoPl-37-21-LYaj">Ładuję...</div><script>(function() { window.OodoPl = window.OodoPl || {}; OodoPl.config = OodoPl.config || []; OodoPl.config.push( { uid: 37, klauzid: 21, rand: 'LYaj', lang: 'pl', css: true } ); var script = document.createElement('script'); script.src = 'https://my.oodo.pl/pl/klauzula/37-21-LYaj'; script.async = true; var entry = document.getElementsByTagName('script')[0]; entry.parentNode.insertBefore(script, entry); })();</script>
}());
}());

Aktualna wersja na dzień 21:09, 11 cze 2024

$(function () {
	(function() { window.OodoPl = window.OodoPl || {}; OodoPl.config = OodoPl.config || []; OodoPl.config.push( { uid: 37, klauzid: 21, rand: 'LYaj', lang: 'pl', css: false } ); var script = document.createElement('script'); script.src = 'https://my.oodo.pl/pl/klauzula/37-21-LYaj'; script.async = true; var entry = document.getElementsByTagName('script')[0]; entry.parentNode.insertBefore(script, entry); })();
}());