Notify system

@@adsense
Notify This is a default notify style
Notify Notify with icon
Notify Notify with closer
Success Notify with success
Alert Notify with alert
Warning Notify with warning
Info Notify with info
Shadow Notify with shadow

                <script>
                    $.Notify({...options...});
                </script>

                <!-- Simple notify -->
                $.Notify({
                    caption: 'Notify title',
                    content: 'Notify content'
                });

                <!-- Success notify -->
                $.Notify({
                    caption: 'Notify title',
                    content: 'Notify content',
                    type: 'success'
                });

                <!-- Keep open -->
                $.Notify({
                    caption: 'Notify title',
                    content: 'Notify content',
                    keepOpen: true
                });

                <!-- With icon (icon font, ex: Metro Icon Font) -->
                $.Notify({
                    caption: 'Notify title',
                    content: 'Notify content',
                    icon: "<span class='mif-vpn-publ'></span>"
                });

                <!-- With icon (image) -->
                $.Notify({
                    caption: 'Notify title',
                    content: 'Notify content',
                    icon: "<img src='...'>"
                });
            

Options

Parameter Type Default value Description
icon string empty html to create notify icon. Can be img or span
caption string empty html to create notify title.
content string empty html to create notify text.
shadow boolean false Show notify with shadow.
timeout int 3000 Timeout to notify close.
keepOpen boolean false Set notify to keep-open mode (user can close notify manual).
type string default Predefined color style for notify: success, info, warning, alert
style object {} Set custom background and color