jquery图片内边框
$("img").insetBorder({
speed : 1000, // 1000 = 1 秒, 默认值 250
borderColor : "orangered", // 默认的白色 (#ffffff)
inset : 10, // 边框宽度, 默认值 10px
borderType : "solid", // 边框类型, e.g. dashed
outerClass : "ibe_outer", // 外包裹的类名
innerClass : "ibe_inner" // 类名的内边框的
});
|
Default
$(selector).insetBorder();
|
|
Big Border
$(selector).insetBorder({
inset: 50
});
|
|
Not centered
$(selector).insetBorder({
insetleft: 60,
insetright: 40,
insettop: 14,
insetbottom: 86
});
|
|
Colored Border
$(selector).insetBorder({
borderColor: "#000000"
});
|
|
Slower Speed
$(selector).insetBorder({
speed: 500
});
|
|
Double Border
$("selector").insetBorder({
borderType: "double"
});
|
|
Rectangles
$("selector").insetBorder();
|