Changes

Jump to: navigation, search

MediaWiki:Common.js

1,124 bytes removed, 12:55, 18 January 2019
no edit summary
/* Any JavaScript here will be loaded for all users on every page load. */
var levels = [25, 50, 100, 200, 500, 1000, 2000, 5000, 10000];
$(document).ready(function() {
// Price
dataType: "json",
success: function(result) {
$("#price-user-25").text("$" + result["VSP-25"]); $("#price-25").text("$" + (25 * result["VSP-25"] * 12)); $("#price-user-50").text("$" + result["VSP-50"]); $("#price-50").text("$" + (50 * result["VSP-50"] * 12)); $("#price-user-100").text("$" + result["VSP-100"]); $("#price-100").text("$" + (100 * result["VSP-100"] * 12)); $("#price-user-500").text("$" + result["VSP-500"]); $("#price-500").text("$" + (500 * result["VSP-500"] * 12)); $("#price-user-1000").text("$" + result["VSP-1000"]); $("#price-1000").texteach("$" + levels, function (1000 * result["VSP-1000"] * 12key, val));{ $("#price-user-5000").text("$" + result["VSP-5000"]); $("#price-5000"val).text("$" + (5000 * result["VSP-5000"] * 12)); $("#price-user-10000").text("$" + result["VSP-10000"val]); $("#price-10000").text("$" + (10000 * result["VSP-10000"] * 12)});
},
});
}
if ($("#price-10").length > 0) {
var examples = [10, 40, 75, 150, 300, 750, 1500, 3000, 7500];
$.each(examples, function (key, val) {
pricecalc(val);
});
}
});
var _gaq = _gaq || [];function pricecalc(users) { var pluginUrl = '//www $.google-analytics.comajax({ url: "/plugins/ga/inpage_linkidprice.js';php?u=" + users, dataType: "json", _gaq.push success: function(['_require', 'inpage_linkid', pluginUrl]result);{ _gaq.push $(['_setAccount', 'UA-20664476"#price-2']"+users); _gaq.pushtext(['_setDomainName', 'halon.se']"$" + parseInt(result * users * 12)); _gaq.push(['_setAllowLinker' }, true] }); _gaq.push(['_trackPageview']);}
// Google Analytics (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function() { var ga (i[r].q= documenti[r].q||[]).push(arguments)},i[r].createElementl=1*new Date('script'); gaa=s.type createElement(o), m= 'text/javascript's.getElementsByTagName(o)[0]; gaa.async = true1; gaa.src = g;m.parentNode.insertBefore(a,m) })('https:' == window,document.location.protocol ? ,'https://sslscript' : ,'http://www') + '.google-analytics.com/gaanalytics.js'; var s = document.getElementsByTagName(,'scriptga')[0]; s.parentNode.insertBefore(ga, s); })();
$("body").append($("<script />", { html: "document.writega(unescape(\"%3Cscript src='\" + document.location.protocol + \"//gateway02.whoson.ch/include.js?domain=www.halon.secreate' charset=, 'utfUA-820664476-4' type=, 'text/javascriptauto'%3E%3C/script%3E\"));"}));$("body").append($("<script />", { html: "document.write(unescapega(\"%3Cscript charset='utf-8send' type='text/javascript, '%3EsWOResponse=pageview'';sWOInvite='N';if(typeof sWOTrackPage=='function')sWOTrackPage();%3C/script%3E\"));"}));

Navigation menu