JSON and width/height

Aug 4, 2008 at 4:47 PM
Edited Aug 4, 2008 at 4:48 PM
I'm creating a SharePoint 2007 web part that will allow a user to create a Slide.Show to display the contents of a SharePoint image library.  I am passing the configuration and image data through JSON that is created on the fly.  I've managed to get everything to work so far except dynamically sizing the Slide.Show to fill the contents of the web part.  If I send the following configuration, everything works, but it is a fixed size:

width: 640, height: 480
Whenever I try one of the following, the slide.show does not display:

width: 100%, height: 100%
width: '100%', height: '100%'
width: Auto, height: Auto
width: 'Auto', height: 'Auto'
What else should I try?  Is there something special about parameters passed through JSON that would make dynamic resizing not work?