function adjustSize() {
            
            windowWidth = $(window).width();
            windowHeight = $(window).height();
            
            if(settings.responsive) {
                if(windowWidth > 550) {
                    settings.width = $('div.msg-container').width();
                    settings.height = $('div.msg-container').height();
                }
                else {
                    settings.width = windowWidth - 30;
                    settings.height = $('div.msg-container').height();
                }
            }

            top = windowHeight / 2 - settings.height / 2;
            
            $('div.msg-container').width(settings.width);
            
            return true;
        }
/*
        * Adjust Size 
        * Before it is this opens, it is adjusted size.
        * 
        */
Adjust Size
Before it is this opens, it is adjusted size.
Adjust Size Before it is this opens it is adjusted size .
function adjustSize() {
            windowWidth = $(window).width();
            windowHeight = $(window).height();
            if(settings.responsive) {
                if(windowWidth > 550) {
                    settings.width = $('div.msg-container').width();
                    settings.height = $('div.msg-container').height();
                }
                else {
                    settings.width = windowWidth - 30;
                    settings.height = $('div.msg-container').height();
                }
            }
            top = windowHeight / 2 - settings.height / 2;
            $('div.msg-container').width(settings.width);
            return true;
        }
function adjustSize ( ) { windowWidth = $ ( window ) . width ( ) ; windowHeight = $ ( window ) . height ( ) ; if ( settings . responsive ) { if ( windowWidth > 550 ) { settings . width = $ ( 'div.msg-container' ) . width ( ) ; settings . height = $ ( 'div.msg-container' ) . height ( ) ; } else { settings . width = windowWidth - 30 ; settings . height = $ ( 'div.msg-container' ) . height ( ) ; } } top = windowHeight / 2 - settings . height / 2 ; $ ( 'div.msg-container' ) . width ( settings . width ) ; return true ; }
Adjust Size
 Before it is this opens, it is adjusted size.
Adjust Size Before it is this opens it is adjusted size .