DivCorners - jQuery圆角插件


未知
跨平台
JavaScript

软件简介

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](http://www.roydukkey.com/divcorners/understanding.php)_  
      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  
  });