Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Move Mouse to desired position

Status
Not open for further replies.

ToddWW

Programmer
Joined
Mar 25, 2001
Messages
1,073
Location
US
I know this is a longshot because I'm sure that conventionally browsers don't allow this. But here is what I am trying to achieve.

I have a drag and drop application. When a user picks up an item and drops it, I enable a DIV element with some text and a few buttons in it giving the user some options.

What I would like to do is move the mouse over one particular button. Allowing them to perform a speedy "Click" for the item drop, then a speedy "Click" to accept the default settings. Basically, I am trying to mimic the Microsoft Windows mouse feature that places your mouse over the default button when a Microsoft window appears.

Any way this can be done ?

P.S. I know that I can control the position of the DIV element in such a way that the default button lands underneath the current mouse position, but sometimes that puts the DIV element off of the screen depending on where the user drops the original item. I also know that I can set the button to default to allow the user to press the enter key. But what I am really trying to achieve is the quick "Click-Click" feature.

Thanks in advance for your advice.

ToddWW
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top