User:Hilycker/common.js

$(document).ready(function {   var topImage = $("#twoface-inner-top").text;    var bottomImage = $("#twoface-inner-bottom").text;

$("#twoface-inner-top").text(""); $("#twoface-inner-bottom").text(""); $("#twoface-inner-top").css("background-image", "url(" + topImage + ")"); $("#twoface-inner-bottom").css("background-image", "url(" + bottomImage + ")"); });

/* Brizingr5: WeaponInfobox */ var Infobox_x = false; $('.Infobox_Parent').mouseenter(function {    if (Infobox_x === false) {        $('.Infobox_Collapsible').css('display', 'inline');    } }); $('.Infobox_Parent').mouseleave(function {    if (Infobox_x === false) {        $('.Infobox_Collapsible').css('display', 'none');    } }); $('.Infobox_Parent').click(function {    if (Infobox_x === false) {        Infobox_x = true;        $('.Infobox_Glow').css('box-shadow', '0 0 10px 4px #5AE4DE');        return;    }    if (Infobox_x === true) {        Infobox_x = false;        $('.Infobox_Glow').css('box-shadow', '3px 3px 2px 0px black');        return;    } }); /* END Brizingr5: Infobox */