Mar24th2006

Nifty Corners Cube are a solution to get rounded corners without images,

Nifty Corners Cube are a solution to get rounded corners without images
 
http://pro.html.it/niftycube/
 
Nifty Corners Cube are a solution to get rounded corners without images, and this third version is build by three main components: * A javascript file, named "niftycornerscube.js" * A CSS file, named "niftycorners.css" * The javascript calls specific for the pages Now we're now ready to look at the first example: it's a div with big rounded corners thanks to Nifty Corners. As I said before, the CSS file it's added automatically by javascript. In fact, the only reference to an external file in the example is the following: Regarding the third point, as is the javascript calls needed for the page, the code for the example is the following: In bold I've reported the part of the script that depends on the page, and that is the call for the function Nifty. This function is the core of the whole library, and receives two parameters that are the strength point of the script. Parameters have to be specified between quotes and separated by a comma. The first parameter is for the CSS selector that targets the elements to round, while the second parameter is for options for default cases could be omitted. Let's see them in depth.

0 Responses to “Nifty Corners Cube are a solution to get rounded corners without images,”


  1. No Comments

Leave a Reply




Syndicate

Xobni outlook add-in for your inbox

Categories

Archives