خرید بک لینک

Vote count: 0

Hi guys:)If I pass on the div in the example with mouse's pointer the function print in console two times,this menans that onmousemove event is triggered two times.Hoe is possible that onmousemove event is triggered considered that the div is 1 pixel width?How is possible that onmousemove event is triggered two times considered that the div is 1 pixel width?

  <div id="div1">

</div>

#div1{
  height:200px;
  width:1px;
  background:red;

}


document.getElementById("div1").onmousemove= function(){

              console.log("in mousemove function");

             };

asked 1 min ago

برچسب: نویسنده: استخدام کار تاريخ: شنبه 8 خرداد 1395 ساعت: 18:43

صفحه بندی