Login   Register  
PHP Classes
elePHPant
Icontem

Class: Photo Show and Hide

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Joseph Rubenstein  >  Photo Show and Hide  >  Download .tar.gz .zip  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Photo Show and Hide
Base name: cphoto_showhide
Description: Output page with dynamically expansible thumbnails
Related classes: , , , , , , ,
Version: -
PHP version: -
License: GNU Free Documentation License (FDL)
All time users: 1585 users
All time rank: 2069
Week users: 1 user
Week rank: 2503
Picture of Joseph Rubenstein
Author: Joseph Rubenstein <e-mail contact>
Packages: 1 Browse this author's classes Browse this author's classes
Country: China China - PHP jobs in China
Age: 41
All time rank: 140118 in China China
Week rank: 1661 Down19 Down in China China


  Detailed description  
The purpose of this package is to combine some CSS tricks and PHP code into a class that accomplishes the task of adding images into text blocks where the text flows around the image.

This can easily be accomplished with CSS and PHP, but this class can not only embed the thumbnail but to make it expandable, to reflow the text and to do this without having to reload the page

It can accomodate more than one image in the same page by the means of dynamically generating div tags with unique id attributes.

The class can generate HTML code with mouseover event attributes to make the larger image appear inline as an object on the page.

This generated HTML relies heavily on CSS and a little on a Javascript trick to show and hide div tags by id.

You can specify file path, file name and type, and also request a float left or right, AND set the size of each thumbnail.

 

  Groups  
Group folder image HTML HTML generation and processing View top rated classes
Group folder image Graphics Colors, images, charts and picture formats View top rated classes

  Rate classes User ratings   Applications   Related links   Files Files  

  User ratings  
Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Good (83.3%)
Good (87.5%)
-
Good (87.5%)
-
-
Not sure (59.2%)
861
Month:
Not yet rated by the users

  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.

  Related links  
Link Description
CodeList Code Lister - view the files on one page.
Demo of Show Hide Here is a demo page.
Demo on real site we built... Mouse over photos to enlarge, click to shrink...

  Files folder image Files  
File Role Description
Plain text file class_photoinclude.php Class Photo Show/Hide Class File
Plain text file demo_photoinclude.php Example A demo page with instructions
Plain text file photo_include.css Data The CSS to include

Download all files: cphoto_showhide.tar.gz cphoto_showhide.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.