Recent activity
Subscribe to this feed
Phillip replied on April 03, 2009 22:06 to the question "100% width" in Widgetbox:
Potential solution on the Widgetbox end:
In the Widgetbox dev area where dimensions of the widget are set, why not have a checkbox that simply applies width="100%" to the iframe?
If you are allowing users to set a width of 9999px you might as well allow 100% width ;) I think this solves the issue somewhat gracefully.
thanks
Phillip replied on April 03, 2009 21:34 to the question "100% width" in Widgetbox:
Thanks for the response and link, Dave. It would be GREAT if widgetbox supported 100% width based on the parent container.
For a widget like mine, which is all user generated text (like the last 5 twitter messages), dynamic sizing won't do much since there is nothing from which the javascript can gauge dimensions. I added a wrapping div with a css min-width rule, but the widgetbox js sets the iframe's width to that min-width amount (in this scenario, I might as well set an explicit width in the widgetbox editor)
Thanks for you help
Phillip replied on April 03, 2009 20:25 to the question "100% width" in Widgetbox:
I am experiencing this also. I am trying to deploy a widget. It is all HTML based on dynamic content. I have styled everything for a liquid layout and everything should be set to use up 100% of the parent container, but it only shows up around 150px wide, or something terribly narrow
Specifying an absolute width is certainly problematic if I want to support the widget being placed in multiple page types.
In the widget editor you must specify a width and height, but there is a checkbox for size dynamically. What does that checkbox even mean if I have to specify absolute dimensions? Are there any true 100% width workarounds?
Loading Profile...
