Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Community Forums
 Community Discussions (All other subjects)
 JS to capture mouse movement
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

redbrad0
Advanced Member

USA
3725 Posts

Posted - 04 February 2004 :  10:18:57  Show Profile  Visit redbrad0's Homepage  Send redbrad0 an AOL message
Does anyone know a way that on a image or even on the full page if someone moves the mouse or pushes a key then it will send them to a different url?

Brad
Oklahoma City Online Entertainment Guide
Oklahoma Event Tickets

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 04 February 2004 :  11:50:28  Show Profile
You can use the onmousemove, onkeyup, or onkeydown event handlers for this purpose.


Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Go to Top of Page

Jezmeister
Senior Member

United Kingdom
1141 Posts

Posted - 04 February 2004 :  14:27:38  Show Profile  Visit Jezmeister's Homepage
r u using a WYSIWYG editor or html editor? if WYSIWYG which one?
Go to Top of Page

sr_erick
Senior Member

USA
1318 Posts

Posted - 04 February 2004 :  14:57:05  Show Profile  Visit sr_erick's Homepage  Send sr_erick a Yahoo! Message
I dont think brad would be caught dead using WYSIWYG




Erick
Snowmobile Fanatics

Go to Top of Page

redbrad0
Advanced Member

USA
3725 Posts

Posted - 04 February 2004 :  15:03:28  Show Profile  Visit redbrad0's Homepage  Send redbrad0 an AOL message
quote:
Originally posted by Jezmeister

r u using a WYSIWYG editor or html editor? if WYSIWYG which one?



Far from it. I will look at the handlers you were talking about MeTV.

Brad
Oklahoma City Online Entertainment Guide
Oklahoma Event Tickets
Go to Top of Page

redbrad0
Advanced Member

USA
3725 Posts

Posted - 04 February 2004 :  15:19:15  Show Profile  Visit redbrad0's Homepage  Send redbrad0 an AOL message
I tried the following code and I there were errors. Do you see anything that is wrong?

<a href="default.asp" onmouseover="window.location('http://www.eznetideas.com')"><img src="appointment_recurrence.gif"></a>

Brad
Oklahoma City Online Entertainment Guide
Oklahoma Event Tickets
Go to Top of Page

Hamlin
Advanced Member

United Kingdom
2386 Posts

Posted - 04 February 2004 :  16:22:52  Show Profile
quote:
Originally posted by redbrad0

I tried the following code and I there were errors. Do you see anything that is wrong?

<a href="default.asp" onmouseover="window.location('http://www.eznetideas.com')"><img src="appointment_recurrence.gif"></a>


Try
<a href="default.asp" onmouseover="window.location = 'http://www.eznetideas.com';"><img src="appointment_recurrence.gif"></a>
Go to Top of Page

redbrad0
Advanced Member

USA
3725 Posts

Posted - 04 February 2004 :  16:41:59  Show Profile  Visit redbrad0's Homepage  Send redbrad0 an AOL message
That worked perfect thanks Hamlin

Brad
Oklahoma City Online Entertainment Guide
Oklahoma Event Tickets
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.33 seconds. Powered By: Snitz Forums 2000 Version 3.4.07