I'm hoping to get some assistance. Is there a way to use the .resize function to continually update the width? You will see in the example below the "accordionW" grabs the window width on the page load but I'm hoping to figure out how to have it adjust when the window size changes. Can anyone help? Thanks!

Code:
<script type="text/javascript">
            $(function() {
               
                $('#va-accordion').vaccordion({
                    accordionW        : $(window).width(),
                    accordionH        : $(window).height(),
                    visibleSlices    : 5,
                    expandedHeight    : 450,
                    animOpacity        : 0.1,
                    contentAnimSpeed: 100
                });
            });
        </script>