:: Forum >>

Suggestion: generic styles in default themes

I peeked through the theme styles (xp and aqua) and noticed you don't seem to have any generic classes that we can safely and generically use for styling outside of AW widgets. This would include things like backgrounds for active tabs, form backgrounds, etc. This would allow us to easily use the AW themes for the whole web-app, e.g.,

<script>
var tabs = new AW.UI.Tabs;
tabs.setId("tabs");
tabs.setItemText(["Home", "Pending", "New"]);
tabs.setItemCount(3);
tabs.setSelectedItems([0]);
document.write(tabs);
</script>
<div class="aw-active-tab">
home tab!
</div>


Then .aq-active-tab would be defined in each of the themes.

Cool, yeah?

(I did it for all the themes already on my system, just making a helpful suggestion)
Eric
Thursday, March 2, 2006

This topic is archived.


Back to support forum

Forum search