2017-01-23 4 views

答えて

-1

私はあなたが簡単のonmouseoverイベントを通じてこれを行うことができますキャンバスでの経験がないが、

section1.setAttribute('onmouseover', 'changeColor1(this)'); 

function changeColor1(section){ 
    section.setAttribute('fill', 'gray'); 
} 
+0

多分あなたは間違っています – feilvbin

関連する問題