Thanks for the answer but your response concern only the image but not the hotkey.
When I use this code, i see the image at the right place but i don’t see the hotkey in the context menu.
var menu=new dhtmlXMenuObject(“menuObj”,“modern_red”);
menu.renderAsContextMenu();
menu.setImagePath("./dhtmlxMenu/codebase/imgs/");
menu.setIconsPath("./dhtmlxMenu/samples/images/");
menu.addNewChild(menu.topId,0,“copy”,“Copy”,false,“copy.gif”,“copy_dis.gif”);
menu.setHotKey(“copy”,“Ctrl+C”);
menu.addNewChild(menu.topId,1,“cut”,“Cut”,false,“cut.gif”,“cut_dis.gif”);
menu.setHotKey(“cut”,“Ctrl+X”);
menu.addNewChild(menu.topId,2,“paste”,“Paste”,true,“paste.gif”,“paste_dis.gif”);
menu.setHotKey(“paste”,“Ctrl+V”);
menu.addNewSeparator(“paste”,“s1”);
menu.addNewChild(menu.topId,4,“help”,“Help”,false);
menu.setHotKey(“help”,“F1”);
Can the issue be reproduced in the sample that we provided you ?
Locally the hot keys are shown correctly (we’ve tested IE7, IE8 and FF3).
I don’t see the hotkey on my context menu. I have tried on IE6,IE8 and FF3.
This is my complete code :
DHMTLX - TreeView
<div id=‘all’ style=‘width:1000px;height:1000px;background-color:yellow;’>
<FORM method=post action=“cgi-bin/script.pl”>
Enregistrement d’un utilisateur
Nom |
|
Prénom |
|
Sexe |
Homme : Femme : |
Fonction |
Enseignant Etudiant Ingénieur Retraité Autre |
Commentaires |
Tapez ici vos commentaires |
|
Possibly you use some old menu libraries. The issue doesn’t appear with the latest menu files. Please, see attachment.
1244648291.zip (59.6 KB)
Thanks,
But i have download the last version of dhtmlxMenu and my file dhtmlxmenu.js in directory \dhtmlxMenu\sources\ is dated of 2009/03/10 for 89,4Ko and the file dhtmlxmenu.js in the archive is dated of 2009/06/10 for 89,7Ko and there is between us many differences. In the archive, you send me the sources version of the dhtmlxmenu.js, can i have the compact version too?