inline.js 821 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
(function($) {

    $.noty.layouts.inline = {
        name     : 'inline',
        options  : {},
        container: {
            object  : '<ul class="noty_inline_layout_container" />',
            selector: 'ul.noty_inline_layout_container',
            style   : function() {
                $(this).css({
                    width        : '100%',
                    height       : 'auto',
                    margin       : 0,
                    padding      : 0,
                    listStyleType: 'none',
                    zIndex       : 9999999
                });
            }
        },
        parent   : {
            object  : '<li />',
            selector: 'li',
            css     : {}
        },
        css      : {
            display: 'none'
        },
        addClass : ''
    };

})(jQuery);