Login   Register  
PHP Classes
elePHPant
Icontem

Mini HTML Helper: Display links with CSS based tooltips

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2011-09-19 (2 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 972 All time: 3,427 This week: 1,539Up
Version License PHP version Categories  
mhh-class 1.0GNU General Public Lice...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: 22
All time rank: 215429 in Iran Iran
Week rank: 1843 Up39 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:972All time:3,427
 This week:0This week:1,539Up