canvas高级篇(转载)移动元素

本文转载在http://bbs.blueidea.com/thread-2979405-1-1.html

哈哈哈,好骚气!终于解决了我的需求。可以移动canvas内的多个元素

"-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
"http://www.w3.org/1999/xhtml" >


    "Content-Type" content="text/html; charset=gb2312" />
    
    

"background:#eeeeee;">
"background:#0f0;width:100px;height:100px;position:absolute;left:100px;top:100px;z-index:1;" οnclick="alert(1);">
"tutorial" width="1000" height="550" style="z-index:100;display:block;position:absolute;">

 

转载于:https://www.cnblogs.com/zeussbook/p/10283134.html

你可能感兴趣的:(canvas高级篇(转载)移动元素)