Last modified by Pascal Robert on 2010/09/12 03:20

Hide last authors
Pascal Robert 4.1 1 === AjaxRoundEffect ===
smmccraw 1.1 2
Pascal Robert 4.1 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.
smmccraw 1.1 4
Pascal Robert 4.1 5 A demo of the Rico rounding effect is available [[here>>url:http://openrico.org/rico/demos.page?demo=rico_effect_round||shape="rect"]].
smmccraw 1.1 6
Pascal Robert 4.1 7 ==== Wonder Bindings ====
smmccraw 1.1 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
Pascal Robert 4.1 12 * generateTags - whether or not to generate "div" or "span" tags. If false, the assumption is that the wrapping component provided the tags.
smmccraw 1.1 13
Pascal Robert 4.1 14 ==== Rico Bindings ====
smmccraw 1.1 15
Pascal Robert 4.1 16 [[Rico "Documentation">>url:http://openrico.org/rico/demos.page?demo=rico_effect_round||shape="rect"]]
smmccraw 1.1 17
18 * corners
19 * color
20 * bgColor
21 * blend
22 * border
23 * compact
Pascal Robert 4.1 24 Category:WebObjects