The script relies upon pixel units to get everything lined up correctly in all cases. To do so, it strips all but the number from the width and height values and then later adds 'px' back on. While the number is in its raw state, it also checks to see that certain minimum dimensions are met.
Now, this much precision may or may not be required for the iframe presentation method of this script. What you could try is changing this bit of code:
Code:
setSize:function(t, w, h){ //set window size (min is 150px wide by 100px tall)
t.style.width=Math.max(parseInt(w), 150)+"px"
t.contentarea.style.height=Math.max(parseInt(h), 100)+"px"
},
to:
Code:
setSize:function(t, w, h){ //set window size (min is 150px wide by 100px tall)
t.style.width=w+"%"
t.contentarea.style.height=h+"%"
},
But I must stress that, since the script's author seemed to feel that giving the designer this much control might mess things up, it might.
Bookmarks