PHP Classes

Classes of Joseph Rubenstein

Recommend this page to a friend!
  All class groups  >  All authors  >  Classes of Joseph Rubenstein (1)  >  Mission progress status  >  Reputation  
Picture of Joseph Rubenstein
Name: Joseph Rubenstein <contact>
Classes: 1
Country: China China
Age: 54
All time rank: 176020 in China China
Week rank: 195 Up3 in China China Up
All time users: 1623
Week users: 0
 
  A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z  
  Files folder image Photo Show and Hide  
Output page with dynamically expansible thumbnails
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.


  A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z