User:Seraphios/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;    } });