Preserved Topic: how with the dom? |
|
---|---|
Author | Thread |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
posted 06-22-2001 07:13
I'm trying to capture the mouse x and y positions in NN6 with any scroll offsets |
Maniac (V) Mad Scientist From: Belgrade, Serbia |
posted 06-22-2001 09:11
Take a look at this example that I made for Bugimus: http://www.max.co.yu/ozone/mozilla-drag.html |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
posted 06-22-2001 16:47
hmm. I thought I saw that page work before but I just tried it with my new version of NN 6 and it's not working. |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 06-22-2001 18:01
I'll be able to get an answer up for this later when I get home, I think... |
Maniac (V) Mad Scientist From: Belgrade, Serbia |
posted 06-22-2001 18:33 |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
posted 06-22-2001 18:51
Max that did it |
Maniac (V) Mad Scientist From: Belgrade, Serbia |
posted 06-22-2001 19:06
When I created that example I used button = 1 (I was using Mozilla 0.6 then). Everything was fine, but after some time (if I remember correctly, I was using Mozilla 0.8 then), I noticed that it didn't work anymore (button numbering started from 0 from that version), so I've changed that example page. Anyway, your version of Shitscape is very old. I believe that now they have version 6.1 (it's based on Mozilla 0.9.1), so I think that checking for different version of Shitscape would be unnecessary, because most people will always use the latest version. |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 06-22-2001 20:44
OK, this is the function I use for mouse movement when I'm not worrying about NN 4.x support. I'm sure you know how to combine that with this function if you want to. |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 06-22-2001 20:46
Er, ignore the assignments to onmousedown in that code. |