Right-clicking on submenu item sends menu behind form fields

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
screenmates
Advanced
Advanced
Posts: 26
Joined: Tue Jan 23, 2007 3:35 pm

Right-clicking on submenu item sends menu behind form fields

Post by screenmates »

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
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

URL??
John
screenmates
Advanced
Advanced
Posts: 26
Joined: Tue Jan 23, 2007 3:35 pm

Post by screenmates »

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,
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

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.
John
screenmates
Advanced
Advanced
Posts: 26
Joined: Tue Jan 23, 2007 3:35 pm

Post by screenmates »

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,
Last edited by screenmates on Sat Feb 03, 2007 12:31 am, edited 2 times in total.
screenmates
Advanced
Advanced
Posts: 26
Joined: Tue Jan 23, 2007 3:35 pm

Post by screenmates »

On furher investigation, the submenu does not re-appear at all on cancelling the RMB menu in Firefox and menus always display over form fields in Firefox. The problem is manifest in IE (I don't know about other browsers).

Regards,
Post Reply