九色国产,午夜在线视频,新黄色网址,九九色综合,天天做夜夜做久久做狠狠,天天躁夜夜躁狠狠躁2021a,久久不卡一区二区三区

打開APP
userphoto
未登錄

開通VIP,暢享免費(fèi)電子書等14項(xiàng)超值服

開通VIP
bootstrap-modal 彈出插件

Bootstrap-Modal

Responsive, Stackable, AJAX and more.


Using Bootstrap 3? Include the patch file before bootstrap-modal and check out the demo page.

Responsive

  1. <div id="responsive" class="modal hide fade" tabindex="-1" data-width="760">
  2. <div class="modal-header">
  3. <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
  4. <h3>Responsive</h3>
  5. </div>
  6. <div class="modal-body">
  7. <div class="row-fluid">
  8. <div class="span6">
  9. <h4>Some Input</h4>
  10. <p><input type="text" class="span12"></p>
  11. <p><input type="text" class="span12"></p>
  12. <p><input type="text" class="span12"></p>
  13. <p><input type="text" class="span12"></p>
  14. <p><input type="text" class="span12"></p>
  15. <p><input type="text" class="span12"></p>
  16. <p><input type="text" class="span12"></p>
  17. </div>
  18. <div class="span6">
  19. <h4>Some More Input</h4>
  20. <p><input type="text" class="span12"></p>
  21. <p><input type="text" class="span12"></p>
  22. <p><input type="text" class="span12"></p>
  23. <p><input type="text" class="span12"></p>
  24. <p><input type="text" class="span12"></p>
  25. <p><input type="text" class="span12"></p>
  26. <p><input type="text" class="span12"></p>
  27. </div>
  28. </div>
  29. </div>
  30. <div class="modal-footer">
  31. <button type="button" data-dismiss="modal" class="btn">Close</button>
  32. <button type="button" class="btn btn-primary">Save changes</button>
  33. </div>
  34. </div>

Stackable

  1. <div id="stack1" class="modal hide fade" tabindex="-1" data-focus-on="input:first">
  2. <div class="modal-header">
  3. <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
  4. <h3>Stack One</h3>
  5. </div>
  6. <div class="modal-body">
  7. <p>One fine body…</p>
  8. <p>One fine body…</p>
  9. <p>One fine body…</p>
  10. <input type="text" data-tabindex="1">
  11. <input type="text" data-tabindex="2">
  12. <button class="btn" data-toggle="modal" href="#stack2">Launch modal</button>
  13. </div>
  14. <div class="modal-footer">
  15. <button type="button" data-dismiss="modal" class="btn">Close</button>
  16. <button type="button" class="btn btn-primary">Ok</button>
  17. </div>
  18. </div>
  19.  
  20. <div id="stack2" class="modal hide fade" tabindex="-1" data-focus-on="input:first">
  21. <div class="modal-header">
  22. <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
  23. <h3>Stack Two</h3>
  24. </div>
  25. <div class="modal-body">
  26. <p>One fine body…</p>
  27. <p>One fine body…</p>
  28. <input type="text" data-tabindex="1">
  29. <input type="text" data-tabindex="2">
  30. <button class="btn" data-toggle="modal" href="#stack3">Launch modal</button>
  31. </div>
  32. <div class="modal-footer">
  33. <button type="button" data-dismiss="modal" class="btn">Close</button>
  34. <button type="button" class="btn btn-primary">Ok</button>
  35. </div>
  36. </div>
  37.  
  38. <div id="stack3" class="modal hide fade" tabindex="-1" data-focus-on="input:first">
  39. <div class="modal-header">
  40. <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
  41. <h3>Stack Three</h3>
  42. </div>
  43. <div class="modal-body">
  44. <p>One fine body…</p>
  45. <input type="text" data-tabindex="1">
  46. <input type="text" data-tabindex="2">
  47. </div>
  48. <div class="modal-footer">
  49. <button type="button" data-dismiss="modal" class="btn">Close</button>
  50. <button type="button" class="btn btn-primary">Ok</button>
  51. </div>
  52. </div>

AJAX (via jQuery.load)

  1. var $modal = $('#ajax-modal');
  2.  
  3. $('.ajax .demo').on('click', function(){
  4. // create the backdrop and wait for next modal to be triggered
  5. $('body').modalmanager('loading');
  6.  
  7. setTimeout(function(){
  8. $modal.load('modal_ajax_test.html', '', function(){
  9. $modal.modal();
  10. });
  11. }, 1000);
  12. });
  13.  
  14. $modal.on('click', '.update', function(){
  15. $modal.modal('loading');
  16. setTimeout(function(){
  17. $modal
  18. .modal('loading')
  19. .find('.modal-body')
  20. .prepend('<div class="alert alert-info fade in">' +
  21. 'Updated!<button type="button" class="close" data-dismiss="alert">×</button>' +
  22. '</div>');
  23. }, 1000);
  24. });
  25.  

Static Background with Animation

The shake animation is included in bootstrap-modal but any animation in animate.css is supported, just include the css file in your project.

  1. <div id="static" class="modal hide fade" tabindex="-1" data-backdrop="static" data-keyboard="false">
  2. <div class="modal-body">
  3. <p>Would you like to continue with some arbitrary task?</p>
  4. </div>
  5. <div class="modal-footer">
  6. <button type="button" data-dismiss="modal" class="btn">Cancel</button>
  7. <button type="button" data-dismiss="modal" class="btn btn-primary">Continue Task</button>
  8. </div>
  9. </div>

Full Width

  1. <div id="full-width" class="modal container hide fade" tabindex="-1">
  2. <div class="modal-header">
  3. <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
  4. <h3>Full Width</h3>
  5. </div>
  6. <div class="modal-body">
  7. <p>This modal will resize itself to the same dimensions as the container class.</p>
  8. <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis sollicitudin ipsum ac ante fermentum suscipit. In ac augue non purus accumsan lobortis id sed nibh. Nunc egestas hendrerit ipsum, et porttitor augue volutpat non. Aliquam erat volutpat. Vestibulum scelerisque lobortis pulvinar. Aenean hendrerit risus neque, eget tincidunt leo. Vestibulum est tortor, commodo nec cursus nec, vestibulum vel nibh. Morbi elit magna, ornare placerat euismod semper, dignissim vel odio. Phasellus elementum quam eu ipsum euismod pretium.</p>
  9. </div>
  10. <div class="modal-footer">
  11. <button type="button" data-dismiss="modal" class="btn">Close</button>
  12. <button type="button" class="btn btn-primary">Save changes</button>
  13. </div>
  14. </div>

Long Modals

  1. <div id="long" class="modal hide fade" tabindex="-1" data-replace="true">
  2. <div class="modal-header">
  3. <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
  4. <h3>A Fairly Long Modal</h3>
  5. </div>
  6. <div class="modal-body">
  7. <button class="btn" data-toggle="modal" href="#notlong" style="position: absolute; top: 50%; right: 12px">Not So Long Modal</button>
  8. <img style="height: 800px" src="http://i.imgur.com/KwPYo.jpg">
  9. </div>
  10. <div class="modal-footer">
  11. <button type="button" data-dismiss="modal" class="btn">Close</button>
  12. </div>
  13. </div>

本站僅提供存儲(chǔ)服務(wù),所有內(nèi)容均由用戶發(fā)布,如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請(qǐng)點(diǎn)擊舉報(bào)。
打開APP,閱讀全文并永久保存 查看更多類似文章
猜你喜歡
類似文章
TabIndex 屬性 Tabindex="-1","0"或任意數(shù)字
bootstrap精簡(jiǎn)教程
bootstrap4 模態(tài)框
WEB前端第五十一課——BootStrap組件(三)dropdown、form、modal、pagination
PHP:如何在模態(tài)URL中放置和傳遞變量
bootstrap中多個(gè)modal彈出的問題解決方案
更多類似文章 >>
生活服務(wù)
熱點(diǎn)新聞
分享 收藏 導(dǎo)長(zhǎng)圖 關(guān)注 下載文章
綁定賬號(hào)成功
后續(xù)可登錄賬號(hào)暢享VIP特權(quán)!
如果VIP功能使用有故障,
可點(diǎn)擊這里聯(lián)系客服!

聯(lián)系客服