MediaWiki:Common.js: Unterschied zwischen den Versionen

Aus Controlling-Wiki
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 10: Zeile 10:


ga('create', 'UA-71081271-1', 'auto');
ga('create', 'UA-71081271-1', 'auto');
ga('require', 'linkid', 'linkid.js');
ga('send', 'pageview');
ga('send', 'pageview');

Version vom 23. Mai 2016, 10:08 Uhr

/* Das folgende JavaScript wird für alle Benutzer geladen. */
/* Einbinden Socialmedia Buttons */
$("#mw-panel").append('<div class="portal"><h3>Besuchen Sie uns auf</h3><a href="https://www.facebook.com/ifz.zug?ref=hl" target="_blank"><img src="https://blog.hslu.ch/financialmanagement/files/2015/04/icon-facebook.png" alt="facebook"  title="facebook" width="28" height="28" border="0" style="margin-right:4px;" /></a><a href="https://www.xing.com/net/pri65aa5ax/financialmanagement/" target="_blank"><img src="https://blog.hslu.ch/financialmanagement/files/2015/04/icon-xing.png" alt="xing"  title="xing" width="28" height="28" border="0" style="margin-right:4px;" /></a><a href="https://www.linkedin.com/groups?gid=8237551&trk=vsrp_groups_res_photo&trkInfo=VSRPsearchId%3A4163635981429533565675%2CVSRPtargetId%3A8237551%2CVSRPcmpt%3Aprimary" target="_blank"><img src="https://blog.hslu.ch/financialmanagement/files/2015/04/icon-linkedin.png" alt="linkedin" title="linkedin" width="28" height="28" border="0" style="margin-right:4px;"/></a><a href="https://plus.google.com/u/0/102839662342174913370/posts" target="_blank"><img src="https://blog.hslu.ch/financialmanagement/files/2015/04/icon-googleplus.png" alt="google plus" title="google+" width="28" height="28" border="0" style="margin-right:4px;"/></a></div>');

/* Einbinden Google Analytics */
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');

ga('create', 'UA-71081271-1', 'auto');
ga('require', 'linkid', 'linkid.js');
ga('send', 'pageview');