2013-12-11 46 views

回答

2

您需要添加CSS代碼爲它工作。他們有一個CSS表,你可以包括你可以做wnload在其網站上

<link rel="stylesheet" type="text/css" href="css/imgareaselect-default.css" /> 

DEMO

/* 
* imgAreaSelect animated border style 
*/ 

.imgareaselect-border1 { 
    background: url(border-anim-v.gif) repeat-y left top; 
} 

.imgareaselect-border2 { 
    background: url(border-anim-h.gif) repeat-x left top; 
} 

.imgareaselect-border3 { 
    background: url(border-anim-v.gif) repeat-y right top; 
} 

.imgareaselect-border4 { 
    background: url(border-anim-h.gif) repeat-x left bottom; 
} 

.imgareaselect-border1, .imgareaselect-border2, 
.imgareaselect-border3, .imgareaselect-border4 { 
    opacity: 0.5; 
    filter: alpha(opacity=50); 
} 

.imgareaselect-handle { 
    background-color: #fff; 
    border: solid 1px #000; 
    opacity: 0.5; 
    filter: alpha(opacity=50); 
} 

.imgareaselect-outer { 
    background-color: #000; 
    opacity: 0.5; 
    filter: alpha(opacity=50); 
} 

.imgareaselect-selection { 
} 
+0

http://jsfiddle.net/PdYB7/4/ – RononDex