Subversion-Projekte lars-tiefland.cienc

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
5 lars 1
<!DOCTYPE html>
2
<html>
3
 
4
    <head>
5
        <title>jquery.bootstrap-growl Demo</title>
6
        <link rel="stylesheet" type="text/css" href="http://netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css"> </head>
7
 
8
    <body>
9
        <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
10
        <script src="http://netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script>
11
        <script src="jquery.bootstrap-growl.js"></script>
12
        <script type="text/javascript">
13
            $(function()
14
            {
15
                $.bootstrapGrowl("This is a test.");
16
                setTimeout(function()
17
                {
18
                    $.bootstrapGrowl("This is another test.",
19
                    {
20
                        type: 'success'
21
                    });
22
                }, 1000);
23
                setTimeout(function()
24
                {
25
                    $.bootstrapGrowl("Danger, Danger!",
26
                    {
27
                        type: 'danger',
28
                        align: 'center',
29
                        width: 'auto',
30
                        allow_dismiss: false
31
                    });
32
                }, 2000);
33
                setTimeout(function()
34
                {
35
                    $.bootstrapGrowl("Danger, Danger!",
36
                    {
37
                        type: 'info',
38
                        align: 'left',
39
                        stackup_spacing: 30
40
                    });
41
                }, 3000);
42
            });
43
        </script>
44
    </body>
45
 
46
</html>