1
0
Fork 0
mirror of https://github.com/janickiy/yii2-nomer synced 2025-03-09 15:39:59 +00:00
yii2-nomer/web/metronic/global/plugins/bootstrap-growl/demo.html
2020-02-05 06:34:26 +03:00

46 lines
No EOL
1.5 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<title>jquery.bootstrap-growl Demo</title>
<link rel="stylesheet" type="text/css" href="http://netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css"> </head>
<body>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
<script src="http://netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script>
<script src="jquery.bootstrap-growl.js"></script>
<script type="text/javascript">
$(function()
{
$.bootstrapGrowl("This is a test.");
setTimeout(function()
{
$.bootstrapGrowl("This is another test.",
{
type: 'success'
});
}, 1000);
setTimeout(function()
{
$.bootstrapGrowl("Danger, Danger!",
{
type: 'danger',
align: 'center',
width: 'auto',
allow_dismiss: false
});
}, 2000);
setTimeout(function()
{
$.bootstrapGrowl("Danger, Danger!",
{
type: 'info',
align: 'left',
stackup_spacing: 30
});
}, 3000);
});
</script>
</body>
</html>