2010-08-26 41 views

回答

0

好的,這是正確的答案。

感謝bartaz他的幫助和準確answer to this question

如果你在其中一個腳本添加此將解決這個問題:

if ($.browser.safari) { 
     $.ui.mouse.prototype.__mouseDown = $.ui.mouse.prototype._mouseDown; 
     $.ui.mouse.prototype._mouseDown = function(event){ 
      event.preventDefault(); 
      return $.ui.mouse.prototype.__mouseDown.apply(this, arguments); 
     } 
    } 

似乎鉻抓住光標在其document.onselectstart功能。

如果你想測試自己下載最新版本的調整大小,放置在該\開發束\ \演示可調整大小\ default.html中:

<script type="text/javascript"> 
    if ($.browser.safari) { 
     $.ui.mouse.prototype.__mouseDown = $.ui.mouse.prototype._mouseDown; 
     $.ui.mouse.prototype._mouseDown = function(event){ 
      event.preventDefault(); 
      return $.ui.mouse.prototype.__mouseDown.apply(this, arguments); 
     } 
    } 

    $(function() { 
     $("#resizable").resizable(); 
    }); 
</script> 
+0

感謝好友,偉大 – john 2010-08-27 10:17:40