Archive | Quick Code RSS for this section

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 book {My Book} at Packt official site