当前位置: 软件>JavaScript软件
jQuery圆角插件 DivCorners
本文导语: DivCorners是一个创建边框圆角的jQuery插件。 示例代码: // This is the maximum definition $("div").dcCreate({ imgPrefix: "/images/", fileType: ".gif", expand: 4, // optional radius: 0, // optional Note: Radius must be greater ...
DivCorners是一个创建边框圆角的jQuery插件。
示例代码:
// 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
});