Wrox Programmer Forums
|
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
 
Old August 17th, 2004, 09:22 AM
Friend of Wrox
 
Join Date: May 2004
Posts: 212
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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.
 
Old August 17th, 2004, 10:27 AM
Friend of Wrox
 
Join Date: Jul 2003
Posts: 683
Thanks: 0
Thanked 1 Time in 1 Post
Default

Not AFAIK.

This sounds like a seriously good way to annoy people, what exactly are you trying to do?

Kind regards,

Chris

 
Old August 18th, 2004, 08:00 AM
Friend of Wrox
 
Join Date: May 2004
Posts: 212
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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

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

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

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

Found a sample:

http://dynamicdrive.com/dynamicindex13/roamcursor.htm

HTH,

Snib

<><
 
Old August 25th, 2004, 06:50 PM
Authorized User
 
Join Date: Feb 2004
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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!
 
Old August 25th, 2004, 09:23 PM
Friend of Wrox
 
Join Date: Nov 2003
Posts: 1,285
Thanks: 0
Thanked 2 Times in 2 Posts
Default

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

<><
 
Old August 26th, 2004, 07:37 AM
Friend of Wrox
 
Join Date: May 2004
Posts: 212
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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






Similar Threads
Thread Thread Starter Forum Replies Last Post
pointer to struct goscho C++ Programming 1 January 10th, 2008 07:23 AM
Constant pointer and pointer to a constant amit_mande@yahoo.com C++ Programming 2 June 5th, 2007 01:39 AM
Pointer fReqZz C++ Programming 5 June 5th, 2007 01:09 AM
Pointer reference perstam C++ Programming 5 April 29th, 2006 08:51 AM
HourGlass Mouse Pointer Help rubymist3 Excel VBA 4 December 2nd, 2003 12:23 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.