DD_roundies: Code-only rounded HTML boxes
DD_roundies: Code-only rounded HTML boxes
http://chunghe.googlecode.com/svn/trunk/project/DD_roundies/index.htm
Quick summary:
This uses Microsoft's implementation of VML for Internet Explorer. For other browsers, this adds simple border-radius styles to the document (IF and only if you specify the third argument in DD_belatedPNG.addRule).
The third argument in addRule defaults to false. This library does focus primarily on IE.
usage:
# addRule can take up to three arguments:
* (REQUIRED) A text string representing a CSS selector
* (REQUIRED) A text string representing a border radius or radii (anywhere from 1 to 4, separated by commas)
* (OPTIONAL) A boolean indicating whether or not you want to make roundies just in IE (set to false), or attempt to make roundies in "all" browsers (set to true).
沒有留言:
張貼留言