pgwslideshow.js
function() {
            var listWidth = 0;
            
            // The plugin must be visible for a correct calculation
            pgwSlideshow.plugin.show();

            pgwSlideshow.plugin.find('.ps-list > ul > li').show().each(function() {
                listWidth += $(this).width();
            });

            pgwSlideshow.plugin.find('.ps-list > ul').width(listWidth);
            return true;
        }
function() {
            var listWidth = 0;
            
            // The plugin must be visible for a correct calculation
            pgwSlideshow.plugin.show();

            pgwSlideshow.plugin.find('.ps-list > ul > li').show().each(function() {
                listWidth += $(this).width();
            });

            pgwSlideshow.plugin.find('.ps-list > ul').width(listWidth);
            return true;
        }
function ( ) { var listWidth = 0 ; // The plugin must be visible for a correct calculation pgwSlideshow . plugin . show ( ) ; pgwSlideshow . plugin . find ( '.ps-list > ul > li' ) . show ( ) . each ( function ( ) { listWidth += $ ( this ) . width ( ) ; } ) ; pgwSlideshow . plugin . find ( '.ps-list > ul' ) . width ( listWidth ) ; return true ; }
Set list width
Set list width