2012-10-12 40 views

回答

3

將模態設置爲true禁用收盤時點擊outsite模態的div

$('.fancybox').fancybox({ 
      modal : true 
     }); 
+0

看起來像它的工作,但我刪除了X按鈕 –

+0

很好聽, – loQ

+0

可能會出現X按鈕? –

1
closeBtn  
    If set to true, close button will be displayed  
    Boolean; Default value: true 

read the documentation

+1

他的意思外部點擊不只是用來掩飾的關閉按鈕。再次閱讀文檔 – loQ

+0

http://screencast.com/t/Vx2AQQBZ8u3x –