forked from EugenMayer/bootstrap-dialog
-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cater for bootstrap modal switch "in" to "show"
- Loading branch information
Showing
6 changed files
with
1,459 additions
and
1,471 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<link href="libs/bootstrap.min.css?v=5.10" rel="stylesheet" type="text/css"> | ||
|
||
<link href="../dist/css/bootstrap-dialog.min.css" rel="stylesheet" type="text/css"> | ||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/fontawesome.min.css"/> | ||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/solid.min.css"/> | ||
<script src="libs/jquery.min.js?v=3.31" type="text/javascript"></script> | ||
<script src="libs/popper.min.js?v=4.13" type="text/javascript"></script> | ||
<script src="libs/bootstrap.min.js?v=5.10" type="text/javascript"></script> | ||
|
||
<script src="../dist/js/bootstrap-dialog.min.js" type="text/javascript"></script> | ||
|
||
<meta charset="utf-8" /> | ||
<title>BootstrapDialog examples</title> | ||
<style> | ||
.login-dialog .modal-dialog { | ||
width: 300px; | ||
} | ||
</style> | ||
</head> | ||
<body style="padding-bottom: 100px;"> | ||
<div class="container"> | ||
</div> | ||
|
||
<script type="text/javascript"> | ||
|
||
$( document ).ready(function(){ | ||
BootstrapDialog.show({ | ||
title: 'Example', | ||
message: `Write your example here.<br>Write your example here.<br>Write your example here.<br>Write your example here.<br>Write your example here.<br>Write your example here.<br>Write your example here.<br>Write your example here.<br>Write your example here.<br>Write your example here.<br>Write your example here.<br>Write your example here.<br>Write your example here.<br>Write your example here.<br>Write your example here.<br>Write your example here.<br>Write your example here.<br>Write your example here.<br>Write your example here.<br>Write your example here.<br>Write your example here.<br>Write your example here.<br>Write your example here.<br>Write your example here.<br>Write your example here.<br>Write your example here.<br>Write your example here.<br>Write your example here.<br>Write your example here.<br>Write your example here.<br>Write your example here.<br>Write your example here.<br>Write your example here.<br>Write your example here.<br>Write your example here.<br>Write your example here.<br>Write your example here.<br>Write your example here.<br>Write your example here.<br>Write your example here.<br>Write your example here.<br> THE END.`, | ||
buttons: [{ | ||
label: 'Close', | ||
action: function(dialog) { | ||
dialog.close(); | ||
} | ||
}] | ||
}); | ||
BootstrapDialog.show({ | ||
title: 'Example', | ||
message: 'Write your example here.', | ||
buttons: [{ | ||
label: 'Close', | ||
action: function(dialog) { | ||
dialog.close(); | ||
} | ||
}] | ||
}); | ||
BootstrapDialog.show({ | ||
title: 'Example', | ||
message: 'Write your example here.', | ||
buttons: [{ | ||
label: 'Close', | ||
action: function(dialog) { | ||
dialog.close(); | ||
} | ||
}] | ||
}); | ||
}); | ||
|
||
|
||
</script> | ||
</body> | ||
</html> |
Oops, something went wrong.