dojo 拖动

前端之家收集整理的这篇文章主要介绍了dojo 拖动前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
<html>
<head>
<style type="text/css">
.note
{
background :#FFFFBF;
border-bottom:1px solid black;
border-left: 1px solid black;
border-right : 1px solid black;
width :302px;
height :300px;
margin:0px;
padding :0px;
}
.noteHandle {
border-left:1px solid black;
border-right:1px solid black;
border-top:1px solid black;
cursor:pointer;
background:#FFFF8F;
width :300px;
height:10px;
margin:0px;
padding:0px;

}

</style>
<script type="text/javascript"
djConfig="parSEOnLoad: true,isDebug: true" src="dojo-release-1.7.1/dojo/dojo.js"></script> </head> <body> <script type="text/javascript"> dojo.require("dojo.dnd.Moveable"); //引入Dojo的拖动功能模块 dojo.require("dojo.parser"); //引入解析Dojo标记功能模块 </script> <div data-dojo-type="dojo.dnd.Moveable" skip=true> <div class="noteHandle"></div> <textarea rows=5 class="note">gergrgr</textarea> </div> </body> </html>

猜你在找的Dojo相关文章