Login / Join
Non-Modal Bootstrap Dialog Box
submitted on 23/09/2013 by
Codicode
+ infos
Config
Embed
Share
Non-Modal Bootstrap Dialog Box
by
Codicode
This is a simple twitter bootstrap non-modal box,
this box will be hidden first,
The jquery (javascript) fadeIn function will show it gradually,
The fade In effect will take 5 seconds to complete.
We can delete the JS part and remove the css hide attribute to display immediately.
Framework 1 :
-- None --
jQuery 2.0.3
jQuery 1.9.1
jQuery 1.9.0
jQuery 1.8.0
jQuery 1.7.1
jQuery 1.6.3
jQuery UI 1.10.3
MooTools 1.4.5
AngularJS 1.0.4
Prototype 1.7.1.0
Dojo 1.8.3
Chrome Frame 1.0.3
Ext Core 3.1.0
SWFObject 2.2
WebFont Loader 1.1.2
Framework 2 :
-- None --
jQuery 2.0.3
jQuery 1.9.1
jQuery 1.9.0
jQuery 1.8.0
jQuery 1.7.1
jQuery 1.6.3
jQuery UI 1.10.3
MooTools 1.4.5
AngularJS 1.0.4
Prototype 1.7.1.0
Dojo 1.8.3
Chrome Frame 1.0.3
Ext Core 3.1.0
SWFObject 2.2
WebFont Loader 1.1.2
+ Js file(s) :
//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/js/bootstrap.min.js
+ Css file(s) :
//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/css/bootstrap-combined.min.css
Apply
Link :
Direct http link :
Fork button :
Html code :
Embed preview :
Copy the following html code to your page to embed the preview,
To include many previews on a single page, just repeat the first line.
You can change the width, height and border color (bcolor).
<div class="refork-widget" code="657" style="width:100%;height:200px;" bcolor="#ccc"></div>
<script type="text/javascript" src="//snippet.run/d/z.js"></script>
HTML
<div id="umodal" class="modal" role="dialog"> <div class="modal-header"> <h3>Non-Modal Bootstrap 2.x Dialog Box</h3> </div> <div class="modal-body"> This is a simple non-modal <b>twitter bootstrap 2.x box</b>,<br/> this box will be hidden first,<br /> the jquery (javascript) <b>fadeIn</b> function will show it gradually,<br/> The fade In effect will take 5 seconds to complete.<br/><br/> You can delete the JS part and remove the css hide attribute to display immediately. </div> <div class="modal-footer"> <button id="closeBnt" class="btn bnt-primary">Close</button> </div> </div>
CSS
#umodal { padding:0px; }
Javascript
$(function() { $("#umodal").fadeIn(5000); $("#closeBnt").click(function(){ $("#umodal").hide(200); }); });
©2013 Copyright snippet.run
Privacy
-
Terms of use
-
About
-
Contact