Difference between revisions of "MediaWiki:Common.js"

From CasaGenerosa
Jump to: navigation, search
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
/* Any JavaScript here will be loaded for all users on every page load. */
+
(function () {
$('mw-mywiki-airbnb').html('<div class="airbnb-embed-frame" data-add-type-to-city-link="1" data-city-link-index="2" data-eb="1455745325_ep3qO06J2uEaFOaJ" data-eu="w/Hjs29gP6N4UvXpnBL++XPb44EFVX++NmKkoCITrrzbcWhC/pzh26bXYtkO
+
 
jkEViJYBh+NEeX3UBJZMyY1be4FslImGVRzmZ4CDtZM2qyMT5gXkBf5QrmV9
+
  var myElement = document.getElementById('mw-mywiki-example');
kuo3n4xK06yD7sm60goxSbZIZlmVWnA4L04yYX0zdrD0yxDqulSTpsVJ/Bft
+
  myElement.innerHTML = '
/YW0pGSCf/brBBbDc6QuUgPuFlwa3lcyhZTw+CKUA8PT+TZHd9mHRUOHqBFn
+
<div id="cookieMessageWrapper">
sTNDXHi75fGgWwzLeiaN4fgowH4vvWBQLLU59u/yM5ICPjO/FExEd/jtvqHe
+
<div id="cookieMessage">
KTNFg5ivwsTWKBIFp+Nh2oD3AnB2SEmbb4yyLTl1oA==
+
<a id="cookieClose" href="#">Close</a>
" data-embed-source-type="p3" data-trigger-source-type="p3_listing_embed_notification" data-listing-id="9659089" data-photo-url="https://a2.muscache.com/im/pictures/e5f4b238-00e9-46d1-97db-81944d22cbf4.jpg?aki_policy=x_large" data-view="listing_frame" style="max-width:600px;margin:auto;transition:height .2s;"><img src="https://a2.muscache.com/im/pictures/e5f4b238-00e9-46d1-97db-81944d22cbf4.jpg?aki_policy=x_large" style="max-width:100%;" alt=""/><div><a href="https://www.airbnb.it/rooms/9659089"><h4>Casa con terrazzo super scontata!</h4></a><div>Roma, Lazio, Italia</div><blockquote>La casa è indipendente,grande e (URL HIDDEN) trova in una posizione strategica: a pochi passi dalla stazione ferroviaria Magliana: 20 min dall'aeroporto di Fiumicino, da Parco Leonardo o da Porta d...</blockquote><a target="airbnb" href="https://www.airbnb.it/s/Roma--Italia?type=house"><span>Case per le vacanze a Roma in affitto</span></a></div><script async="" src="https://www.airbnb.it/embeddable/airbnb_jssdk"></script></div>');
+
<p><strong>Questo sito utlizza cookie.</strong> Può leggere come li usiamo nella nostra <a href="policy.htm">Privacy Policy</a>.</p>
 +
</div>
 +
</div>
 +
';
 +
 
 +
}());

Latest revision as of 21:08, 25 April 2016

(function () {

  var myElement = document.getElementById('mw-mywiki-example');
  myElement.innerHTML = '
<div id="cookieMessageWrapper">
<div id="cookieMessage">
<a id="cookieClose" href="#">Close</a>
<p><strong>Questo sito utlizza cookie.</strong> Può leggere come li usiamo nella nostra <a href="policy.htm">Privacy Policy</a>.</p>
</div>
</div>
';

}());