MediaWiki:Personator Consumer - TEST.js: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
$(".PC-Button p").hover(function(){$(this).parent().css({"background-color":"#ffffff"});},function(){$(this).parent().css({"background-color":"#f2f2f2"});});//Hover change | $(".PC-Button p").hover(function(){$(this).parent().css({"background-color":"#ffffff"});},function(){$(this).parent().css({"background-color":"#f2f2f2"});});//Hover change | ||
$(".PC-Button").css({"background-color":"#111"}) | $(".PC-Button").css({"background-color":"#111"}) | ||
(function (p,o,s,t,m,a,n) { | |||
!p[s] && (p[s] = function () { (p[t] || (p[t] = [])).push(arguments); }); | |||
!o.getElementById(s+t) && o.getElementsByTagName("head")[0].appendChild(( | |||
(n = o.createElement("script")), | |||
(n.id = s+t), (n.async = 1), (n.src = m), n | |||
)); | |||
}(window, document, "_pm", "PostmanRunObject", "https://run.pstmn.io/button.js")); |
Revision as of 21:34, 15 June 2022
$(".PC-Button p").css({"cursor":"pointer"});//Cursor change $(".PC-Button p").hover(function(){$(this).parent().css({"background-color":"#ffffff"});},function(){$(this).parent().css({"background-color":"#f2f2f2"});});//Hover change $(".PC-Button").css({"background-color":"#111"}) (function (p,o,s,t,m,a,n) { !p[s] && (p[s] = function () { (p[t] || (p[t] = [])).push(arguments); }); !o.getElementById(s+t) && o.getElementsByTagName("head")[0].appendChild(( (n = o.createElement("script")), (n.id = s+t), (n.async = 1), (n.src = m), n )); }(window, document, "_pm", "PostmanRunObject", "https://run.pstmn.io/button.js"));