Contextual Menus and disableMouseMove conflict

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
erickmiller
Beginner
Beginner
Posts: 5
Joined: Thu Jan 19, 2006 7:06 am

Contextual Menus and disableMouseMove conflict

Post by erickmiller »

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. :cry:

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
erickmiller
Beginner
Beginner
Posts: 5
Joined: Thu Jan 19, 2006 7:06 am

Post by erickmiller »

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?
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Post by Andy »

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
erickmiller
Beginner
Beginner
Posts: 5
Joined: Thu Jan 19, 2006 7:06 am

Solved!

Post by erickmiller »

Hi Andy,

This worked like a champ! Thanks!

Eric
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

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
Post Reply