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:46
Contextual Menus and disableMouseMove conflict
Poster: erickmiller
Dated: Tuesday December 12 2006 - 4:01:28 GMT
Is there any way to make contextual menus work while using the "disableMouseMove = true;" setting? When set to false, a contextual menu appears in the upper-left corner of the browser window.
We're in need of disabling the MouseMove tracking since it interferes with a drag 'n drop interface we've developed, but we'd also like to use contextual menus, which requires MouseMove to be enabled.
I'm trying to dynamically set the MouseMove at the right time, but thought I'd ask to see if there was a solution.
Thanks!
Eric
Poster: erickmiller
Dated: Tuesday December 12 2006 - 5:59:32 GMT
Apparently, the disableMouseMove variable is not dynamic. It must be set before the mmenudom.js file gets included.
Is there a way you could change Milonic to be able to dynamically adjust this so we could activate it when a right-mouse-button is pressed and de-activate it when the right-mouse-button is un-pressed?
Poster: Andy
Dated: Tuesday December 12 2006 - 10:48:02 GMT
Hi,
If you set the variables X_ and Y_ (from your mouse code) to be the X and Y positions of the mouse, this should inform the menu of the mouses positon and display objects in the correct place.
If not, let me know and I'll see what I can do
Cheers,
Andy
Solved!
Poster: erickmiller
Dated: Thursday December 14 2006 - 2:48:22 GMT
Hi Andy,
This worked like a champ! Thanks!
Eric
Poster: Ruth
Dated: Thursday December 14 2006 - 5:54:57 GMT
Hi Eric,
I deleted your other post as requested, but I think you should be able to do it yourself once it is posted. Just go back to it when you are logged in and see if there isn't an x up at the top somewhere by the edit button.
Since I have permission to delete I don't really know what a regular user can do on the main post....
Ruth