Chat/Messenger Right Click menu obscured by Firefox context menu

Last post 08-19-2011, 6:17 PM by Jeff. 6 replies.
Sort Posts: Previous Next
  •  08-02-2011, 2:07 PM 69177

    Chat/Messenger Right Click menu obscured by Firefox context menu

    My company is doing some browser compatability tests and we found cute chat and messenger work differently between Firefox and IE.  We found that IE works fine for right click menus but in Firefox the menus are obscured by Firefox's right click menu.  Pictures below.  Is there a fix for this?
    Menu in IE displaying properly.
     
    Menu in Firefox, obscured by Firefox right click and removing functionality.
  •  08-03-2011, 1:30 AM 69208 in reply to 69177

    Re: Chat/Messenger Right Click menu obscured by Firefox context menu

    Hi rgettel,
     
    Can you reproduce this issue on our online demo  
     I can not reproduce it. ( My firefox version is 5.0.1 )
     
    And is your demo online? If so, post a test link here, I will test it. 
     
    Regards,
    Jeff 
  •  08-03-2011, 8:03 AM 69222 in reply to 69208

    Re: Chat/Messenger Right Click menu obscured by Firefox context menu

    I was able to reproduce it by going to your site in Firefox 5, 
     and logging in.  Then I clicked the 'Embed Chat' link.  In the embeded chatroom, I right clicked several places that was not my user name (no other users) and reproduced the error.
    Let me know if you need more info.
    Thanks. 
  •  08-03-2011, 2:49 PM 69240 in reply to 69208

    Re: Chat/Messenger Right Click menu obscured by Firefox context menu

    Jeff-
     
    I was able to reproduce the problem in your online demo using Firefox 5.0.1
    Right click in any of the following places:
    • White space in the scrolling chat window (top left window)
    • White space inside user list below users (top right window)
    • Text input area (left of "send" button)
    What type of javascript change is needed to prevent the browser's context menu to overly CC's context menu?
  •  08-07-2011, 10:41 PM 69390 in reply to 69222

    Re: Chat/Messenger Right Click menu obscured by Firefox context menu

    Hi regettel,
     
     Please try to add the following code to 'embed.aspx', after body tag
    1. <script type="text/javascript">  
    2.     if(/Firefox/.test(navigator.userAgent))  
    3.     {  
    4.         document.getElementById("td_channel_container").addEventListener("contextmenu",  
    5.         function(event)  
    6.         {  
    7.             event.preventDefault();  
    8.         },  
    9.         "false");  
    10.     }  
    11. </script>  
     
     
    Regards,
    Jeff 
  •  08-19-2011, 2:49 PM 69716 in reply to 69390

    Re: Chat/Messenger Right Click menu obscured by Firefox context menu

    Tried inputting this code but only got javascript errors that specified div did not exist.  In our implementation we are not using EmbedChannel.aspx.  We're using Messenger.aspx and Channel.aspx.  Can you provide the div names neccessary to solve this issue in these pages?
  •  08-19-2011, 6:17 PM 69718 in reply to 69716

    Re: Chat/Messenger Right Click menu obscured by Firefox context menu

    Hi rgettel,
     
    Yes, this code is for "Embed.aspx".
     
    But I can not reproduce the issue on "Messenger.aspx" and "Channel.aspx" by Firefox 6.0, http://dotnetdate.com/
    Can you send the reproduce steps and pages to [email protected]?
    I will back to you ASAP.
     
    Regards,
    Jeff
View as RSS news feed in XML