60
60
< link rel ="stylesheet "
61
61
href ="demo/demo.css ">
62
62
< script >
63
- var version = '3.0.3 ' ;
63
+ var version = '3.1.0 ' ;
64
64
</ script >
65
65
<!-- Add the minified version of files from the /dist/ folder. -->
66
66
<!-- jquery-confirm files -->
114
114
< span class ="caret "> </ span >
115
115
</ a >
116
116
< ul class ="dropdown-menu ">
117
+ < li >
118
+ < a href ="http://craftpip.github.io/jquery-confirm/v3.0.3 "> v3.0.3</ a >
119
+ </ li >
117
120
< li >
118
121
< a href ="http://craftpip.github.io/jquery-confirm/v3.0.1 "> v3.0.1</ a >
119
122
</ li >
213
216
< div class ="col-md-12 ">
214
217
< div style ="height: 15px; "> </ div >
215
218
< a href ="https://github.com/craftpip/jquery-confirm/releases/download/v3.0.3/jquery-confirm-v3.0.3.zip "
216
- class ="btn btn-lg "> Download v3.0.3
219
+ class ="btn btn-lg "> Download v3.1.0
217
220
</ a >
218
221
< a href ="https://github.com/craftpip/jquery-confirm "
219
222
class ="btn btn-lg "> < i class ="fa fa-github "> </ i > View on GitHub
@@ -565,6 +568,12 @@ <h2>Features</h2>
565
568
< p class ="text-success "> Clean animations</ p >
566
569
</ div >
567
570
</ div >
571
+ < div class ="row ">
572
+ < div class ="col-md-3 ">
573
+ < button class ="btn btn-primary btn-block example-p-7-2 "> Draggable</ button >
574
+ < p class ="text-success "> Drag me around</ p >
575
+ </ div >
576
+ </ div >
568
577
< script type ="text/javascript ">
569
578
// alert
570
579
$ ( '.example-p-1' ) . on ( 'click' , function ( ) {
@@ -861,17 +870,24 @@ <h2>Features</h2>
861
870
} ,
862
871
} ) ;
863
872
} ) ;
873
+
874
+ $ ( '.example-p-7-2' ) . on ( 'click' , function ( ) {
875
+ $ . alert ( {
876
+ title : 'A draggable dialog' ,
877
+ content : 'This dialog is draggable, use the title to drag it around. It wont touch the screen borders' ,
878
+ type : 'blue' ,
879
+ draggable : true ,
880
+ } ) ;
881
+ } )
864
882
</ script >
865
883
</ section >
866
884
867
885
< section >
868
- < h2 > Whats new < span style ="color: #aaa "> in v3.0.3 </ span > </ h2 >
886
+ < h2 > Whats new < span style ="color: #aaa "> in v3.1.0 </ span > </ h2 >
869
887
< ul >
870
- < li > Support for namespaced bootstrap classes</ li >
871
- < li > Jconfirm can be used without bootstrap</ li >
872
- < li > Added type for modals (green/success, red/failure, orange/warning, etc)</ li >
873
- < li > Added setType method</ li >
874
- < li > bug fixes</ li >
888
+ < li > Support for bootstrap v4</ li >
889
+ < li > Draggable dialogs</ li >
890
+ < li > Added options animateScrollToElement, alignMiddle, offsetTop, drawWindowGap and more</ li >
875
891
</ ul >
876
892
</ section >
877
893
@@ -897,8 +913,8 @@ <h3 id="installation">
897
913
898
914
< p >
899
915
< strong > via CDN:</ strong >
900
- < pre class ="prettyprint "> < code class ="html "> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/jquery-confirm/3.0.3 /jquery-confirm.min.css">
901
- <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-confirm/3.0.3 /jquery-confirm.min.js"></script></ code > </ pre >
916
+ < pre class ="prettyprint "> < code class ="html "> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/jquery-confirm/3.1.0 /jquery-confirm.min.css">
917
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-confirm/3.1.0 /jquery-confirm.min.js"></script></ code > </ pre >
902
918
</ p >
903
919
904
920
< p >
0 commit comments