|
1 |
| -jQuery.msgBox is a plug-in to make smarter displaying messages. Also usage of the plug-in is so easy. You just need to add following files to your page as shown below and the images named 'alert.png', 'confirm.png', 'error.png', 'info.png', 'msgBoxBackGround.png' used by plug-in to 'Images' folder in the root directory. |
2 |
| - |
3 |
| -<script src="http://code.jquery.com/jquery-1.9.1.js"></script> |
4 |
| -<script src="scripts/jquery.msgBox.js" type="text/javascript"></script> |
5 |
| -<link href="styles/msgBoxLight.css" rel="stylesheet" type="text/css"> |
6 |
| - |
7 |
| -See how to use at http://dotctor.github.io/jQuery.msgBox/ |
8 |
| - |
9 |
| -Currently, this code is **not maintained**. |
10 |
| -Alternatives such as bootstrap are recommended. |
11 |
| -See http://getbootstrap.com/javascript/#modals for modals in bootstrap. |
12 |
| -Nevertheless, we welcome pull requests. |
| 1 | +jQuery.msgBox is a plug-in to make smarter displaying messages. Also usage of the plug-in is so easy. You just need to add following files to your page as shown below and the images named 'alert.png', 'confirm.png', 'error.png', 'info.png', 'msgBoxBackGround.png' used by plug-in to 'Images' folder in the root directory. |
| 2 | + |
| 3 | +<script src="http://code.jquery.com/jquery-1.9.1.js"></script> |
| 4 | +<script src="scripts/jquery.msgBox.js" type="text/javascript"></script> |
| 5 | +<link href="styles/msgBoxLight.css" rel="stylesheet" type="text/css"> |
| 6 | + |
| 7 | +See how to use at http://dotctor.github.io/jQuery.msgBox/ |
| 8 | + |
| 9 | +Currently, this code is **not maintained**. |
| 10 | +Alternatives such as bootstrap are recommended. |
| 11 | +See http://getbootstrap.com/javascript/#modals for modals in bootstrap. |
| 12 | +Nevertheless, we welcome pull requests. |
| 13 | + |
| 14 | +// edit by Maik Tizziani |
| 15 | + |
| 16 | +For using with RequireJS use the file jquery.msgBox.require.js. |
| 17 | + |
| 18 | +You can use it like that: |
| 19 | + |
| 20 | +require( |
| 21 | + ['jquery', 'path/to/libs/jQuery.msgBox/scripts/jquery.msgBox.require], |
| 22 | + function($, msgBox){ |
| 23 | + msgBox({ |
| 24 | + // your box settings, see the other samples |
| 25 | + }); |
| 26 | + }); |
0 commit comments