Login   Register  
PHP Classes
elePHPant
Icontem

FineDiv: Create rounded corner image styles for HTML pages

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   Screenshots Screenshots   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2006-05-05 (8 years ago) RSS 2.0 feedStarStarStarStar 69%Total: 1,549 All time: 2,355 This week: 954Up
Version License Categories  
finediv 1.0GNU Lesser General Publ...HTML, Graphics
Description Author  

This class can be used to generate rounded color image styles to decorate HTML page elements.

It generates only one image for the corners and a CSS style sheet to produce a cross browser compatible rounded corners effect that works without JavaScript.

Several parameters may be configured like the corner colors, radius, width and output image format.

The corners image can be generated in JPEG, PNG and GIF formats. When the GIF format is used, the corner edges may be transparent.

This class generates the corners image and CSS using an MD5 hash of the corner parameters to define the image and CSS file names. This way it avoids the overhead of generating new files when the corner parameters do not change.

Picture of Peter Klauer
Name: Peter Klauer <contact>
Classes: 18 packages by
Country: Germany Germany
Age: 56
All time rank: 312 in Germany Germany
Week rank: 259 Down10 in Germany Germany Down
Innovation award
Innovation award
Nominee: 3x

Screenshots  
  • finedivsample.jpg
  • finediv.jpg
  • kinderrattat.jpg
  Files folder image Files  
File Role Description
Plain text file liquidcorners.inc Data CSS template. Put it into the css folder.
Plain text file class_finediv.php Class First version
Plain text file finediv.txt Doc. A readme file
Plain text file sample.php Example example of how to implement the class

 Version Control Unique User Downloads Download Rankings  
 0%Total:1,549All time:2,355
 This week:0This week:954Up
 User Ratings  
 
 All time
Utility:93%StarStarStarStarStar
Consistency:75%StarStarStarStar
Documentation:75%StarStarStarStar
Examples:75%StarStarStarStar
Tests:-
Videos:-
Overall:69%StarStarStarStar
Rank:234