protoCorners is submitted!
Your script is now in the approval queue. After a quick review we will notify you of the script's status by email. If everything's alright, we'll publish your work to the site and rss feed. Otherwise, we'll send you the email explaining what seems questionable. In that case, reply to the email whenever we should review the script again.
Also, don't hesitate to discuss things if you feel that our reasons are unfair. We are real folk, and we don't like bureaucracy. : )
Thank you for your contribution!
1
Prototype/scriptaculous based corners implementation, ported from the jQuery corner plugin.
The Effect.Corner class provides a simple way of styling DOM elements.
Effect.Corner constructor takes two arguments:
new Effect.Corner(element, "effect corners width")
effect:
The name of the effect to apply, such as round or bevel. If you don't specify an effect, rounding is used.
corners:
The corners can be one or more of top, bottom, tr, tl, br, or bl. By default, all four corners are adorned.
width:
The width specifies the width of the effect; in the case of rounded corners this will be the radius of the width. Specify this value using the px suffix such as 10px, and yes it must be pixels.
- Website:
-
protoCorners
- Author:
-
Ilia Lobsanov
- Size:
- 6 KB
- Last modified:
- 12/06/2007
- License:
-
GPL MIT
- Tags:
- rounded corners, scriptaculous
- Rating:
-
3
(3/5 from 6 votes)
- Your rating:
-
0
Not yet rated
- Please sign in or register to rate this script
- You can't rate your own script.