Quick Code for Rounded Corners using Rico!!!!

Quick Code is a new category in my blog, where I shall share the code with lil details 🙂

<script type="text/javascript" src="./scripts/prototype.js" language="JavaScript">

<script type="text/javascript" src="./scripts/rico.js" language="JavaScript">

<script type="text/javascript">
Rico.Corner.round('ID of ur DIV',{compact:false,blend:false,corners:'all'});

Code is self explanatory,you just need to pass the ID of the DIV u need make it Rounded Corner. Extra parameters you can pass are Color, etc which of course are optional 🙂


If you are reading article, you might also be interested in the PHP and Scriptaculous Book I have authored.

The book gives you insights about effects, drag-n-drop, slideshows, applications, auto-completion, in-place editing and more. Complete code snippets and explanations.

CHECK out and BUY the PHP and Script.aculo.us book {My Book} at Packt official site

Tags: ,

About srinix

I am Sridhar, a matured nut, on this planet with water, air and love ;)

One response to “Quick Code for Rounded Corners using Rico!!!!”

  1. LM says :

    Code is crap, Rico is a naff framework just spent 2 hours trying to implement this, sick tio death of Rico.Corner has no properties message in error console!
    Why don’t these tutorials explain how to install rico that would be more useful, dependacy etc!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: