Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:22
need a "Loading..." message for ajax menus
Poster: abelman
Dated: Friday February 22 2008 - 9:31:34 GMT
The ajax menu is great, but people with slow connections are getting confused by the long delay before the menu pops up. Is there a way to have it start off with a child menu that displays a customizable loading message, and then remove that menu when the response arrives and the real menu is built? I can't find a way to have the menu do a "showmenu" action and the ajax request. I know that i can accomplish this with the mm_menuedit api, but I don't know where to put the code.
At first glance it seems I need to add a "custom" mouseover action to the menu that will both fire the ajax request and do a "showmenu" call, and then I need to add the code to delete the loading-message menu into the ajax callback. Can some one point me to where in the code I could look for that? Or if it's even feasible? Or (best of all!) point me to some easier way?