cool corners
Example of the script/function: Cool Corners
in the
body-onload of this page, i've put the following instruction:
initCoolCorners('coolCornersBig', 10);
initCoolCorners('coolCornersSmall', 5);
Which will give every DIV with classname =
coolCornersBig corners with a 10-pixel radius and every DIV with classname =
coolCornersSmall corners with a 5-pixel radius.
This is a DIV with a green background, no padding and no rounded corners
This is a DIV with an orange background, 10px padding and no rounded corners
Same DIV,
Same Stylesheet, but
with class="coolCornersBig"