 |
| Javascript How-To Ask your "How do I do this with Javascript?" questions here. |
Welcome to the p2p.wrox.com Forums.
You are currently viewing the Javascript How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
|
|
|
|

August 17th, 2004, 09:22 AM
|
|
Friend of Wrox
|
|
Join Date: May 2004
Posts: 212
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Moving the mouse pointer
Hi Guys,
Is there a way of moving the mouse to co-ordinates you specify in your code?
interrupt
__________________
\'sync\' <cr>
The name specified is not recognized as an internal or external command, operable program or batch file.
|
|

August 17th, 2004, 10:27 AM
|
|
Friend of Wrox
|
|
Join Date: Jul 2003
Posts: 683
Thanks: 0
Thanked 1 Time in 1 Post
|
|
Not AFAIK.
This sounds like a seriously good way to annoy people, what exactly are you trying to do?
Kind regards,
Chris
|
|

August 18th, 2004, 08:00 AM
|
|
Friend of Wrox
|
|
Join Date: May 2004
Posts: 212
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
My site is not in the public eye. It's for my call centre. I want to write a Javascript that explains how to use an app. A bit like those C+ based movies you see in things like Flash and the rest of it. The tutorial I am writing is to teach new trainees how to use Windows NT, I want it to be slideshow/mouse movement based. I know theres a way to capture the mouse coordinates as I've seen the script. But is there a way to 'release' the event, rather than 'capture' it?
interrupt
|
|

August 18th, 2004, 10:28 AM
|
|
Friend of Wrox
|
|
Join Date: Nov 2003
Posts: 1,285
Thanks: 0
Thanked 2 Times in 2 Posts
|
|
If there was a way, I think someone would know it. So, no, I don't think there is.
Why not just use Flash, or if you don't have it, make a floating <div> that acts as a cursor.
Snib
<><
|
|

August 18th, 2004, 10:30 AM
|
|
Friend of Wrox
|
|
Join Date: Nov 2003
Posts: 1,285
Thanks: 0
Thanked 2 Times in 2 Posts
|
|
|
|

August 25th, 2004, 06:50 PM
|
|
Authorized User
|
|
Join Date: Feb 2004
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Hi Interrupt
As a thought, although it's possible to move the "cursor" in a layer, would you not still be better creating a flash application or similar? You can then allow better control of the "show"...
Probably way off track but just a thought...
:D
Good luck
Don't think, do!
|
|

August 25th, 2004, 09:23 PM
|
|
Friend of Wrox
|
|
Join Date: Nov 2003
Posts: 1,285
Thanks: 0
Thanked 2 Times in 2 Posts
|
|
Yeah, in a flash movie you can hide the cursor and make a fake one, but the flash movie would have to cover the entire page.
Maybe you could even give the user a transparent cursor without flash by specifying it through CSS... dunno, and I certainly dunno why you would want to.
Just speculation.
Snib
<><
|
|

August 26th, 2004, 07:37 AM
|
|
Friend of Wrox
|
|
Join Date: May 2004
Posts: 212
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
The reason I'm doing it is to write a tutorial/slideshow. I'll probably use flash though, so thanks for all your help anyhow.
interrupt
|
|
 |