Version 1.1 by smmccraw on 2007/07/08 09:44

Show last authors
1 === AjaxRoundEffect ===
2
3 AjaxRoundEffect is a wrapper around the Rico rounded-corner CSS modifier. AjaxRoundEffect can be used in two ways. In the short-cut style, it acts as a WOComponentContent that will declare a "div" and class on the fly for rounding. If the rounding settings are to be reused on multiple elements, then AjaxRoundEffect should be declared at the bottom of your page (below anything it will round) with no content in it. AjaxRoundEffect actually modifies your CSS style definitions on-the-fly. As a result, it should only be used one time on a page for each CSS class that is being modified. If it is applied multiple times, you will get strange double-corners.
4
5 A demo of the Rico rounding effect is available [[here>>http://openrico.org/rico/demos.page?demo=rico_effect_round]].
6
7 ==== Wonder Bindings ====
8
9 * elementName - the name of the HTML element to create ("div" or "span")
10 * class - the CSS class to round
11 * id - the ID of the element that is generated
12 * generateTags - whether or not to generate "div" or "span" tags. If false, the assumption is that the wrapping component provided the tags.
13
14 ==== Rico Bindings ====
15
16 [[Rico "Documentation">>http://openrico.org/rico/demos.page?demo=rico_effect_round]]
17
18 * corners
19 * color
20 * bgColor
21 * blend
22 * border
23 * compact
24 Category:WebObjects