PHP Classes
Icontem

Class: Text Resizer


  Search   All class groups All class groups   Latest entries Latest entries   Top 10 charts Top 10 charts   Newsletter Newsletter   Blog Blog   Forums Forums   Help FAQ Help FAQ  
  Login   Register  
Recommend this page to a friend! ReTweet ReTweet Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of kumar mcmillan  >  Text Resizer  >  Download  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Text Resizer Support forum
Base name: text-resizer
Description: Resizes text on a page using styles and sessions.
Related top rated classes:
Version: -
Required PHP version: -
License: GNU General Public License (GPL)
All time users: 514 users
All time rank: 3579
Week users: 0 users
Week rank: 3125
 
  Author   Group folder image Groups   Detailed description  
  Rate classes User ratings   Applications   Files Files  

Author

Picture of kumar mcmillan
Name: kumar mcmillan <e-mail contact>
Published packages: 7 Browse this author's classes Browse this author's classes
Country: United States United States - PHP jobs in United States
Home page: http://farmdev.com/
Age: 30
All time rank: 130
Week rank: 702

Groups

Group folder image HTML HTML generation and processing View top rated classes

Detailed description

This class allows your users to resize the text on your website.

Thanks to the cascading nature of CSS, a simple font-size percentage can be included in the head of any page to facilite this text resizer. It will not disturb any other attribute of your styles except the body's font size.

To use this, instantiate the class on any page where you want to use the resizer, call ProcessTextReset(), and reset the text size by passing query string variables: set_text=smaller, set_text=larger, or set_text=normal (the class uses sessions to remember values). The font size is reset to a percentage of the browser's default font size. See the example file for exact usage.

It requires PHP 4 or higher. Let me know if you find any problems.

User ratings

There are not enough user ratings to display for this class.

Applications that use this class

No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.

Files

File Role Description
Plain text file text-resizer-example.php Example example of usage
Plain text file text-resizer.class.php Class class source
Plain text file text-resizer.css Data style sheet
Download all files: text-resizer.tar.gz text-resizer.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.

 
  Advertise on this site Advertise on this site   Site map Site map   Statistics Statistics   Site tips Site tips   Privacy policy Privacy policy   Contact Contact  

For more information send a message to :
info at phpclasses dot org.
Copyright (c) Icontem 1999-2009 PHP Classes - PHP Class Scripts
  PHP Book Reviews - Reviews of books and other products