Home » HTML » HTML_TreeMenu » Bug #5833
DHTML Menu icon size is fixed, so custom icons may not display correcly
Details
| Request #5833 | DHTML Menu icon size is fixed, so custom icons may not display correcly |
|---|---|
| Submitted | 2005-10-31 15:11 UTC |
| From | phunkymunky at gmail dot com |
| Assigned | cweiske |
| Status | Closed |
| Package | HTML_TreeMenu |
| PHP Version | Irrelevant |
| Roadmaps | 1.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.