css 백그라운드 바꾸기
function weaponOrganiser(){ alert("weapon test"); var weaponOrg = "Vector"; //G36C if(weaponOrg == "G36C"){ //$("#G36C").css('background-image', 'url("' + images/weapons/G36C/G36C.png + '")'); $('#G36C').css('background-image', 'url("/images/weapons/G36C/G36C.png")'); alert("G36C applied"); } else if(weaponOrg == "Vector"){ //$("#G36C").css('background-image', 'url("' + images/weapons/Vector/Vec..
■ 프론트엔드 ■/jQuery
2013. 10. 13. 23:07