Give particular Co-ords dependant on mouseposition
http://rules.swcombine.com/galaxy/system.php?systemID=5
hold your mouse some where on the map and a tooltip with the co-ords will apepar.
http://www.centrepointstation.net/galmap/galmap.htm
move your mouse over the map and watch your browsers status bar.
I'm after a script that would display a certain co-ord dependant on the mouse position over the map.
Khanny posted this at 04:45 — 27th February 2003.
They have: 51 posts
Joined: Dec 2002
hello?
why'd this get moved to 'Site Tools'
Megan posted this at 14:38 — 27th February 2003.
She has: 11,421 posts
Joined: Jun 1999
Probably because you're looking for a particular script to do what you want. That's a site tool. I didn't move it though.
How is what you're looking for different from those two examples? Where do you want the co-ordinates to be dispolayed? Do you have a sample page or mock-up we could look at? I'm thinking it could be possible to hack one of those scripts to do what you want.
Megan
Connect with us on Facebook!
kb posted this at 00:09 — 28th February 2003.
He has: 1,380 posts
Joined: Feb 2002
well if you are just looking for a regular co-ord postition, open Paint and do it that way...
otherwise, for an automated way on your site...check hotscripts.com and resourceindex.com
Khanny posted this at 02:54 — 28th February 2003.
They have: 51 posts
Joined: Dec 2002
currently the co-ords are displayed via tooltip. I want them to be automatically displayed some where else on the page as you move the mouse over the image
Megan posted this at 14:32 — 28th February 2003.
She has: 11,421 posts
Joined: Jun 1999
Certainly you could hack that script to show the mouse co-ordinates elsewhere. I'm going to move this thread back to web authoring - hopefully some Javascript folks in there will be able to help you out.
Edit: That Star Wars one actually doesn't seem to be using a script at all - looks like sliced images with title attributes to show the mouse position! In the other one the coordinates are done in a similar manner only using an image map with javascript to send the coordinates to the status bar rather than using the title attribute. What you could do with that one is set up a form to display the co-ordinates and use that instead of the status bar. Some with better javascript knowledge would be able to help with this.
Megan
Connect with us on Facebook!
Khanny posted this at 01:03 — 1st March 2003.
They have: 51 posts
Joined: Dec 2002
oki thanks, lets hope someone knows
dk01 posted this at 09:52 — 1st March 2003.
He has: 516 posts
Joined: Mar 2002
If you can get hold of dreamweaver mx I think it might have a code snippet that allows you to do this exact thing.
-dk
Renegade posted this at 02:13 — 18th March 2003.
He has: 3,022 posts
Joined: Oct 2002
I discovered this code when I was totally bored and surfing randomly
http://www.javascriptkit.com/script/script2/coord.shtml
Gives you mouse co-ordinates
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.