need a "Loading..." message for ajax menus

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
abelman
Beginner
Beginner
Posts: 1
Joined: Tue Jan 29, 2008 9:51 am

need a "Loading..." message for ajax menus

Post by abelman »

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?
Post Reply