开发者

Jquery Ui resizeable and draggable event

i disabled the draggable and resizable events on a box but once you use the disabled true attr it does disable the draggable and resizeable events but it reduces the opacity of the box as if it had an overlay.Does anyone know why that is?

$('#box').resizable({disabled:true});
 $('#box').draggable({disabled:true});

box css:

#box{ 
      position:absolute; 
      top:40px; 
      left:600px; 
      width: 100px; 
      开发者_运维百科height: 100px; 
      border:1px solid #000; 
      background-color: #fff; 
   }

Many Thanks


The destroy function worked

$('#box').draggable( "destroy" );
$('#box').resizable( "destroy" );
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜