bootstrap-实现loading效果
生活随笔
收集整理的這篇文章主要介紹了
bootstrap-实现loading效果
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
可以使用bootstrap的模態框(modal.js),使用它我們可以做出loading效果。
?html
<!-- loading --> <div class="modal fade" id="loading" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" data-backdrop='static'><div class="modal-dialog" role="document"><div class="modal-content"><div class="modal-header"><h4 class="modal-title" id="myModalLabel">提示</h4></div><div class="modal-body">請稍候。。。<span id="result"></span></div></div></div> </div>?
?
?js
?
//顯示 $('#loading').modal('show'); //影藏 $('#loading').modal('hide');?
轉載于:https://www.cnblogs.com/hwaggLee/p/7001887.html
總結
以上是生活随笔為你收集整理的bootstrap-实现loading效果的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Vulkan Tutorial 14 I
- 下一篇: C#中的深复制和浅复制(在C#中克隆对象