PHP Classes

phpMyMenu: Show context menus when menu mouse button is used

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (12)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 72%Total: 4,176 All time: 728 This week: 191Up
Version License PHP version Categories
phpmymenu 1.0.0GNU General Publi...3HTML


This class can be used to generate context menus that show when the menu mouse (usually the right) button is clicked.

The class can add menus and menu items that appear when the menu mouse button is clicked over a page element with a given identifier.

Each menu item is associated with link URLs or JavaScript code that is executed when the item is clicked.

The menu items may have associated icon images. The menu size, colors, borders and styles are configurable.

Innovation Award
PHP Programming Innovation award winner
June 2006

Prize: One copy of the Zend Studio
Contextual menus are a very common user interface feature used by many desktop applications.

Such menus can help the users becoming more productive, as they provide quick access to application functions directly related to the user interface context right under the mouse pointer when the menu button is clicked.

Web applications can trap the menu button click event using the ONCONTEXTMENU attribute. Despite currently it is a non-standard event, several browsers support it.

This class takes advantage of the ONCONTEXTMENU attribute to override the default context menu, and make appear a context menu defined by the PHP application.

Manuel Lemos
Picture of Gustavo Arcila
Name: Gustavo Arcila <contact>
Classes: 3 packages by
Country: Colombia Colombia
Age: 48
All time rank: 391 in Colombia Colombia
Week rank: 358 Down3 in Colombia Colombia Down
Innovation award
Innovation award
Nominee: 1x

Winner: 1x

  • screenshots/sc1.jpg
  Files folder image Files  
File Role Description
Files folder imagedocumentation (1 file)
Files folder imageimages (7 files)
Plain text file Class phpMyMenu Class
Plain text file example.sql Data Table data for samples
Plain text file example1.php Example Sample file
Plain text file sample150706.php Example Sample file with separator use

  Files folder image Files  /  documentation  
File Role Description
  Plain text file mymenu.txt Doc. Documentation for the class. Download PDF from

  Files folder image Files  /  images  
File Role Description
  Image file arrow.jpg Icon Image file
  Image file blueback.gif Icon Image file
  Image file gmail.png Icon Image file
  Image file grayback.gif Icon Image file
  Image file image.gif Icon Image file
  Image file php.png Icon Image file
  Image file phpclasses.png Icon Image file

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:728
This week:191Up
 User Ratings  
 All time