Author |
Topic |
|
homeacademy
Junior Member
USA
163 Posts |
Posted - 05 September 2003 : 12:43:48
|
I need to set the mouse position using ASP. I have the x,y coordinates for the new mouse position, but can't seem to find a function that will move the mouse. I've done a fair amount of googling without success. Any ideas? |
|
Doug G
Support Moderator
USA
6493 Posts |
Posted - 05 September 2003 : 15:00:56
|
Well, asp code runs on the server, do you want to move the mouse around on the server's console?
If you want to reposition the mouse pointer in a browser without another round trip to the server you'll probably need some kind of javascript assuming you actually can control a mouse pointer programatically in a browser (I have no idea).
|
====== Doug G ====== Computer history and help at www.dougscode.com |
|
|
homeacademy
Junior Member
USA
163 Posts |
Posted - 05 September 2003 : 15:27:04
|
Yes, I had the exact same thought process. I was looking for a javascript thing. After several hours searching the net, I gave up on the idea of client-side and thought maybe server-side was the only way possible. I understand I'll have to put up with a page refresh in order to do it server-side.
If anyone has a client-side solution, that'd definatly be my first choice. But, I'm willing to have a page refresh and do things server-side if that's the only thing possible.
Or, maybe it can't be done at all. I'd appreciate any assistance/advice. |
|
|
Nikkol
Forum Moderator
USA
6907 Posts |
Posted - 05 September 2003 : 17:22:33
|
i might be wrong, but I don't think you can move the mouse pointer. you can however, detect the position of the mouse, the position of the window, etc. you could move the position of some little graphic if the intent is to draw attention to another part of the page. |
Nikkol ~ Help Us Help You | ReadMe | 3.4.03 fixes | security fixes ~ |
|
|
homeacademy
Junior Member
USA
163 Posts |
Posted - 05 September 2003 : 20:24:50
|
I have a javascript menu app, which has a hierarchical structure etc. I want to have a link at the bottom of the page that takes a user back to the top of the page and automatically opens one of the menu tabs. I could re-write the open_menu function to allow this, but the function is complex and I figured the easiest way to accomplish it would be to just move the user's mouse to the menu tab and let it open on it's own. I guess I'm turning out to be wrong... |
|
|
Gremlin
General Help Moderator
New Zealand
7528 Posts |
Posted - 05 September 2003 : 22:16:26
|
I have Never seen any javascript that would move the mouse either, I just don't think its possible. |
Kiwihosting.Net - The Forum Hosting Specialists
|
|
|
homeacademy
Junior Member
USA
163 Posts |
Posted - 06 September 2003 : 08:05:21
|
Okay. I'll re-write my function. Thanks guys! |
|
|
|
Topic |
|