Class DHTMLgoodies_roundedCorners
Object
|
+--DHTMLgoodies_roundedCorners
- class
DHTMLgoodies_roundedCorners
Defined in rounded-corners.js
Method Summary |
void
|
addTarget(divId,xRadius,yRadius,color,backgroundColor,padding,heightOfContent,whichCorners)
Add rounded corners to an element
|
void
|
init()
Initializes the script
|
DHTMLgoodies_roundedCorners
DHTMLgoodies_roundedCorners()
addTarget
void addTarget(divId,xRadius,yRadius,color,backgroundColor,padding,heightOfContent,whichCorners)
Add rounded corners to an element
Parameters:
String
- divId = Id of element on page. Example "leftColumn" for <div id="leftColumn">
Int
- xRadius = Y radius of rounded corners, example 10
Int
- yRadius = Y radius of rounded corners, example 10
String
- color = Background color of element, example #FFF or #AABBCC
String
- color = backgroundColor color of element "behind", example #FFF or #AABBCC
Int
- padding = Padding of content - This will be added as left and right padding(not top and bottom)
String
- heightOfContent = Optional argument. You can specify a fixed height of your content. example "15" which means pixels, or "50%".
String
- whichCorners = Optional argument. Commaseparated list of corners, example "top_left,top_right,bottom_left"
init
void init()
Documentation generated by
JSDoc on Mon Oct 2 17:43:55 2006