Is it possible to use a user-defined widget property to modify the CSS class applied to the markup of the widget's outside DIV? For example, here is a container DIV for a typical Generic Content widget:
<div id="fragment-70147" class="content-fragment html-content full-border with-header">...</div>
Let's say the widget is customized to expose a drop-down menu of CSS style choices when configuring the widget. If the user selected "Promotion" from the style menu, I would like that instance of the Generic Content widget to render like so:
<div id="fragment-70147" class="content-fragment html-content full-border with-header promotion">...</div>
Is that possible without using Javascript to modify the DOM?