Rico rounded corners without all of Rico

—Thursday, December 01 2005

UPDATE (Feb, 09 2006): I’ve posted an updated script that uses the new $$ function in Prototype. This means you can now pass a css selector to the round function and round corners based on that.

View and download it here

I extracted and made very minimal changes to Rico’s rounded corner implementation so I could use it without needing all of Rico. Currently I’m using Script.aculo.us in all of my projects and didn’t need all of Rico, but Script.aculo.us doesn’t have a Rounded Corners implementation. All credit to the talented guys over at OpenRico for this!

View an example and download it here.