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:42
Right-clicking on submenu item sends menu behind form fields
Poster: screenmates
Dated: Friday February 2 2007 - 10:09:18 GMT
Right-clicking on submenu item makes the submenu disappear while the right-mouse button menu is on. After coming out from the RMB menu, the submenu re-appears - only this time, behind the form fields such as select dropdowns. All other menus display behind form fields after that until the page is refreshed.
Is this a known issue?
TIA
Poster: screenmates
Dated: Friday February 2 2007 - 16:35:38 GMT
Unfortunately, I'm working on a dev machine (localhost) and there is no public URL for the world as the application is still being developed. I can send you a screenshot, though.
Thanks,
Poster: John
Dated: Friday February 2 2007 - 17:52:13 GMT
We really need to see the failure and the code. Is there no way you can put up a temporary 'secret' site for us to check out?
Thanks.
Poster: screenmates
Dated: Friday February 2 2007 - 20:10:45 GMT
As I guessed, it is a problem with all type of menus. Here is a quick-n-dirty HTML to paste into drawMenus() right after echoing the menu script:
echo '<br><br><select name="sort" style="width: 150px; ">
<option value="asc">Ascending</option>
<option value="desc">Descending</option>
</select><select name="sort" style="width: 150px; ">
<option value="asc">Ascending</option>
<option value="desc">Descending</option>
</select><select name="sort" style="width: 150px; ">
<option value="asc">Ascending</option>
<option value="desc">Descending</option>
</select>';
The above would render 3 select dropdowns. Mouseover any menubar item and right-mouse click on any submenu item. The submenu disappears. Cancel the RMB menu by clicking outside or pressing Esc. The submenu re-appears behind the selects. Now on, every other submenu displays behind the selects until the page is refreshed.
Ideally, it would be better to not hide the submenu on right-clicking the mouse because the user intends to open the submenu item link in a new window/tab instead of the same window/tab. Since the submenu is hidden on RMB menu for some reason, there is no way to do this. I don't understand the logic behind hiding and showing the submenu on RMB click.
Regret I could not come up with a test site as the app is not being hosted anywhere, yet.
Thanks for your time,