User:Brizingr5/wikia.js

/* Brizingr5: MODLIST */ var ModList_x = false; var ModList_y; var ModList_obj = new Object;

$('.ModList').mouseenter(function {   ModList_y = $(this).attr('id');    if(ModList_obj[ModList_y] == undefined) {       ModList_obj[ModList_y] = false;    } /*    $('#'+ModList_y).css('width', '950px'); */    $('#'+ModList_y+'2').css('width', '400px'); });

$('.ModList').mouseleave(function {   ModList_y = $(this).attr('id');    if(ModList_obj[ModList_y] == false){ /*        $('#'+ModList_y).css('width', '550px'); */        $('#'+ModList_y+'2').css('width', '10px');    } });

$('.ModList').mousedown(function {   y = $(this).attr('id');    if(ModList_obj[ModList_y] == false) {        ModList_obj[ModList_y] = true;        $(this).css('border', '2px solid #6699CC');        return;    }    if(ModList_obj[ModList_y] == true) {        ModList_obj[ModList_y] = false;        $(this).css('border', '0px solid #6699CC');        return;    } }); /* END Brizingr5: MODLIST */

/* Brizingr5: WeaponInfobox */ var WeaponInfobox_x = false;

$('.WeaponInfobox_Parent').mouseenter(function {   if(WeaponInfobox_x == false){         $('.WeaponInfobox_Collapsable').css('height', '24px');    } });

$('.WeaponInfobox_Parent').mouseleave(function {   if(WeaponInfobox_x == false){         $('.WeaponInfobox_Collapsable').css('height', '0px');    } });

$('.WeaponInfobox_Parent').mousedown(function {   if(WeaponInfobox_x == false){         WeaponInfobox_x = true;         return;    }    if(WeaponInfobox_x == true){         WeaponInfobox_x = false;         return;    } });

/* END Brizingr5: WeaponInfobox */