// This is the maximum definition
$("div").dcCreate({
imgPrefix: "/images/",
fileType: ".gif",
expand: 4, // optional
radius: 0, // optional Note: Radius must be greater than expand. See Understand the Parameters
position: "inside", // optional
resize: "img", // optional
exclude: "left, top" // optional
}, true); // Note: This parameter is optional. By default it's true.
This parameter controls whether parent .dCorner instances will be resized.
// This is the recommended definition
$("div").dcCreate({
imgPrefix: "/images/dCorner-",
fileType: ".gif",
expand: 10
});
// Call this function when the height or width of the container is altered.
$("div").dcResize(true);
// This is the recommended definition
$("div").dcResize();
// Note: This function's parameter is optional. By default it's true.
// This parameter controls whether parent .dCorner instances will be resized.
// Call this function to remove any instances.
$("div").dcClear(true);
// This is the constructor definition
$("div").dcClear();
// Note: This function's parameter is optional. By default it's true.
// This parameter controls whether parent .dCorner instances will be resized.