Klient zażyczył sobie by w rozwijanym menu , którego fragment cytuję kursor był łapką a nie strzałką.
Ja niestety Javasriptu nie znam, stosuję gotowe behawiory.
Czy ktoś mógłby mi pomóc.
Znalazłem , że musi być LoadCursor, a potem SetCursor i parametr LPCTSTR IDC_HAND.
Próbowałem to jakoś wcisnąć do kodu, bez skutku.
Kod
function mmLoadMenus() {
if (window.mm_menu_0505194554_0) return;
window.mm_menu_0505194554_0 = new Menu("root",141,25,"Tahoma",12,"#DDDDDD","#FFFFFF","#1C272D","#CCA701","left","middle",4,0,50,-5,7,true,true,true,2,false,false);
mm_menu_0505194554_0.addMenuItem("AUDI","location='index.php?auto=audi'");
mm_menu_0505194554_0.addMenuItem("BMW","location='index.php?auto=bmw'");
mm_menu_0505194554_0.addMenuItem("MERCEDES","location='index.php?auto=mercedes'");
mm_menu_0505194554_0.addMenuItem("SEAT","location='index.php?auto=seat'");
mm_menu_0505194554_0.addMenuItem("VOLKSWAGEN","location='index.php?auto=volkswagen'");
mm_menu_0505194554_0.addMenuItem("SKODA","location='index.php?auto=skoda'");
mm_menu_0505194554_0.addMenuItem("INNY","location='index.php?auto=inny'");
mm_menu_0505194554_0.hideOnMouseOut=true;
mm_menu_0505194554_0.bgColor='#555555';
..........if (window.mm_menu_0505194554_0) return;
window.mm_menu_0505194554_0 = new Menu("root",141,25,"Tahoma",12,"#DDDDDD","#FFFFFF","#1C272D","#CCA701","left","middle",4,0,50,-5,7,true,true,true,2,false,false);
mm_menu_0505194554_0.addMenuItem("AUDI","location='index.php?auto=audi'");
mm_menu_0505194554_0.addMenuItem("BMW","location='index.php?auto=bmw'");
mm_menu_0505194554_0.addMenuItem("MERCEDES","location='index.php?auto=mercedes'");
mm_menu_0505194554_0.addMenuItem("SEAT","location='index.php?auto=seat'");
mm_menu_0505194554_0.addMenuItem("VOLKSWAGEN","location='index.php?auto=volkswagen'");
mm_menu_0505194554_0.addMenuItem("SKODA","location='index.php?auto=skoda'");
mm_menu_0505194554_0.addMenuItem("INNY","location='index.php?auto=inny'");
mm_menu_0505194554_0.hideOnMouseOut=true;
mm_menu_0505194554_0.bgColor='#555555';
itd.
potem jest wywołanie tej funkcji w HTML-u.