PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » HTML » HTML_TreeMenu » Bug #5833

DHTML Menu icon size is fixed, so custom icons may not display correcly

Details

Request #5833DHTML Menu icon size is fixed, so custom icons may not display correcly
Submitted2005-10-31 15:11 UTC
Fromphunkymunky at gmail dot com
Assignedcweiske
StatusClosed
PackageHTML_TreeMenu
PHP VersionIrrelevant
Roadmaps1.2.1

Comments

[2005-10-31 15:11 UTC] phunkymunky at gmail dot com

Description:
------------
When using custom icons along with the DHTML menu output, icons may not display correctly. This is because the icon size is fixed at 20x20px within the TreeMenu.js JavaScript library and any images which have different dimensions are resized to 20x20, distorting their appearance.

Suggest removing the hard coded image size, or alternatively it could be passed to the JS library on instantiation at the server side.