-1
A
回答
0
<body>
<script>
$(document).ready(function() {
$(".various").fancybox({
maxWidth : 800,
maxHeight : 500,
fitToView : false,
width : '100%',
height : '100%',
autoSize : true,
closeClick : false,
openEffect : 'elastic',
closeEffect : 'elastic',
beforeShow: function() {
if (this.title) {
// New line
this.title += '<br />';
this.title += '<button class="btn btn-primary" id="enviar" name="enviar" type="submit">Cadastrar Produto</button>';
}
},
helpers : {
title : {
type: 'inside'
}
}
});
</script>
</body>
相關問題
- 1. fancyBox autosize iframe
- 2. 的fancybox:從IFRAME
- 3. fancybox IFrame print
- 4. fancybox iframe尺寸
- 5. fancybox iframe IE圓角
- 6. Fancybox從iframe到父
- 7. iframe重疊Jquery fancybox
- 8. 關於fancybox的iframe?
- 9. iframe中的Fancybox jQuery
- 10. jQuery FancyBox Iframe - 在$ fancybox中使用$(document).ready?
- 11. Fancybox - Iframe內容更新fancybox的大小?
- 12. Fancybox iframe,顯示iframe,然後去url?
- 13. Fancybox iFrame內容不顯示
- 14. fancybox 3 iframe不工作
- 15. fancybox ajax發佈到iframe
- 16. jquery fancybox iframe更改href
- 17. Fancybox iframe標題鏈接
- 18. 如何擺脫fancybox iframe?
- 19. Fancybox不顯示iframe內容
- 20. 從Fancybox iframe調用jQuery?
- 21. 調整fancybox iframe。有問題!
- 22. 提交後避免fancybox iframe關閉?
- 23. fancybox iframe自動調整大小
- 24. 從提交表單關閉的fancybox(IFRAME)
- 25. Fancybox/iFrame使用postMessage的位置(跨域)
- 26. jquery fancybox iframe框位置到部分
- 27. jquery live - 啓動一個fancybox iframe
- 28. 幻燈片與jquery fancybox和iframe
- 29. 如何關閉的fancybox iframe中提交
- 30. 從iframe鏈接中調整父Fancybox
這是可能的。你有沒有嘗試過一些東西? – istepaniuk 2013-02-20 20:37:46
我把底部的按鈕,增加了底部... 填充: 「各種」[15,15,50,15] $(文件)。就緒(函數(){ \t $( ).fancybox({ \t \t \t maxWidth:800, \t \t \t maxHeight:600, \t \t \t fitToView:假, \t \t \t寬度\t: '100%', \t \t高度\t \t: '100%', \t \t的autoSize \t:真, \t \t closeClick \t:假, \t \t openEffect \t: '彈性', \t \t closeEffect \t: '彈性', \t \t填充:[15,15,50,15], \t \t fitToView:true \t}); }); – Max 2013-02-20 20:43:52
在這個例子中,我使用Bootstrap,bootstrap但更簡單 http://img441.imageshack.us/img441/395/imagemwt.png – Max 2013-02-20 21:02:11