Jump to content


Move Mouse Cursor

  • Please log in to reply
1 reply to this topic

#1 aarontan78

  • Members
  • Pip
  • Newbie
  • 4 posts

Posted 17 July 2006 - 02:11 PM

Hi all,

I'm new to javascript.
Is it possible to move the mouse cursor to a button in a webpage automatically when I open the page?
Can I use the mouse right click to execute a javascript function?
How can I do these?

Thanks and regards.

#2 obsidian

  • Staff Alumni
  • Advanced Member
  • 3,202 posts
  • LocationSeattle, WA

Posted 17 July 2006 - 02:13 PM

the principle behind trapping the right mouse click to perform an action can be found at this No Right Click script. check out the sourcecodeprotected() function to see how to determine which mouse button was clicked.
You can't win, you can't lose, you can't break even... you can't even get out of the game.

while (count($life->getQuestions()) > 0)
{   $life->study(); } ?>
  LINKS: PHP: Manual MySQL: Manual PostgreSQL: Manual (X)HTML: Validate It! CSS: A List Apart | IE bug fixes | Zen Garden | Validate It! JavaScript: Reference Cards RegEx: Everything RegEx

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users