微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

DivCorners jQuery圆角插件

程序名称:DivCorners

授权协议: 未知

操作系统: 跨平台

开发语言: JavaScript

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 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  
  });

DivCorners 官网

http://www.roydukkey.com/divcorners/

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。

相关推荐