Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 01-27-2006, 11:51 PM   PM User | #1
viper21
New Coder

 
Join Date: Jan 2006
Location: California
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
viper21 is an unknown quantity at this point
Image map coordinates??

I have a large image, and I want a rollover on the image to display coordinates for each pixel... Is this possible?

TIA!
viper21 is offline   Reply With Quote
Old 01-28-2006, 03:16 AM   PM User | #2
BaldEagle
Regular Coder

 
Join Date: Apr 2005
Location: Lisbon, CT
Posts: 339
Thanks: 0
Thanked 0 Times in 0 Posts
BaldEagle is an unknown quantity at this point
Check this out and see if it will do the trick.

http://webmaster.lycos.co.uk/tips/986375989/

BaldEagle
BaldEagle is offline   Reply With Quote
Old 01-28-2006, 03:53 AM   PM User | #3
viper21
New Coder

 
Join Date: Jan 2006
Location: California
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
viper21 is an unknown quantity at this point
Hey, that works pretty good!

Is there any way though, to have it only do the coordinates within a certain table? Not the whole page?

Thanks!

---- edit ----

Oh yeah, is there a way to have it display next to the cursor, instead of the status bar??

Last edited by viper21; 01-28-2006 at 04:25 AM..
viper21 is offline   Reply With Quote
Old 01-28-2006, 02:24 PM   PM User | #4
BaldEagle
Regular Coder

 
Join Date: Apr 2005
Location: Lisbon, CT
Posts: 339
Thanks: 0
Thanked 0 Times in 0 Posts
BaldEagle is an unknown quantity at this point
http://webdeveloper.com/advhtml/

follow this link and scroll about half or two-thirds down the page till you get to the "Determining Element Page Coordinates" topics. There are 4 parts to the little tutorial. This may get you what you need in terms of isolating a particular element to get the xy coords of it.

BaldEagle
BaldEagle is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 11:06 AM.


Advertisement
Log in to turn off these ads.