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

Z RPedia
Nie podano opisu zmian
Nie podano opisu zmian
Linia 2: Linia 2:
var myPlace = document.getElementById('tpl-example-placeholder');
var myPlace = document.getElementById('tpl-example-placeholder');
myPlace.innerHTML = 'any HTML';
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>
(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); })();
}());
}());

Wersja z 21:03, 11 cze 2024

$(function () {
	var myPlace = document.getElementById('tpl-example-placeholder');
	myPlace.innerHTML = 'any HTML';
	(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); })();
}());