We have integrated your chat room with our site as a demonstration for a client and they are now asking for the user context menus to be disabled. So whenever a user right clicks on their own or another user's name, nothing should appear.
We are using the full screen chat rather than an embedded one.
How do we disable these? If you need any further info, please ask.
Hi RichW,
Please try the way below.
1. Open file CuteSoft_Client\CuteChat\Script\Channel_New.js
2. Find section below and delete it. Two places has this line. line 628 and line 711, please delete both.
menu.Show(document.body,x,y);
Regards,
Ken
Thanks Ken that has solved most of the problem now. There is one other place a menu still appears - when you right click in the user list section (so not on yourself or another chat user). It displays To All, Send File, Pick an Avatar, Online, Away and Busy.
Any idea how to get rid of this as well?
1. Open file \CuteSoft_Client\CuteChat\Script\Channel_New.js
2. Find section below from function "function UserList_OnContextMenu(event) and remove it
menu.Show(document.body,document.documentElement.scrollLeft+event.clientX,document.documentElement.scrollTop+event.clientY);