PHP Classes

Mini HTML Helper: Display links with CSS based tooltips

Recommend this page to a friend!
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 993 All time: 3,664 This week: 571Up
Version License PHP version Categories
mhh-class 1.0.0GNU General Publi...5HTML, PHP 5
Description 

Author

This class can display links with CSS based tooltips.

It can generate HTML for a link with a given text using CSS to make a tooltip show when the user drags the mouse over the link.

The class can use custom HTML for the link and the tooltip, as well show an icon image near the link.

Innovation Award
PHP Programming Innovation award nominee
September 2011
Number 4


Prize: One copy of DWebPro Standard License
Tooltips are small elements of information that appear on the page when you drag the mouse over a page element that accomplishes a certain functionality.

The information contained in the tooltip aims to clarify what is the purpose of the page element associated to the tooltip.

Most browsers support simple single line tooltips defined in title attributes of the associated page element, but usually that is not enough to clarify its purpose.

There are more sophisticated tooltip solutions that require JavaScript code to manage how and when the tooltip shows or hides, but those do not work if JavaScript is disabled.

This class implements a simpler tooltip solution for HTML link elements that does not require JavaScript. It generates HTML which along with some CSS definitions can show a more elaborated tooltip than just single line text tooltips.


Manuel Lemos
Picture of soroush khosravi
Name: soroush khosravi <contact>
Classes: 1 package by
Country: Iran Iran
Age: 32
All time rank: 237735 in Iran Iran
Week rank: 4375 Down93 in Iran Iran Down
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Accessible without login Image file 1.png Photo image for example
Accessible without login Plain text file index.php Example Example
Plain text file mhhclass.php Class Link Generator
Accessible without login Plain text file tool.css Data CSS File

 Version Control Unique User Downloads Download Rankings  
 0%
Total:993
This week:0
All time:3,664
This week:571Up