Posted by Neredbojias on 09/27/05 05:17
With neither quill nor qualm, Domestos quothed:
>
> >
> > Make or find a javascript which positions to the coordinates. Getting
> > the coordinates is the hard part; position something to them is easy.
>
> Thanks - buts thats not much really :( your sentance didnt make much
> sense...
Okay, I've re-read your original post and find that you are (ta da!)
right. This line:
> >>>>But I have yet to find a script that can show the co-ordinates
> >>>>following the cursor and are active (i.e. change when I move the mouse !!
suggests you will need to employ the "onmousemove" event function.
To outline:
* Make/acquire a routine to get the mouse coordinates.
* Make/acquire a routine to position what you wish based on these
coordinates. Don't forget you will have to allow for the width and
height of the re-po'ed element/container and provide a suitable offset.
* Put both routines in a function that is called by the "onmousemove"
event handler.
I've done this a number of times in the past and it isn't exceptionally
hard but it is time consuming.
--
Neredbojias
Contrary to popular belief, it is believable.
[Back to original message]
|