homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / Site Graphics and Multimedia Design
Forum Library, Charter, Moderators: not2easy

Site Graphics and Multimedia Design Forum

Pinpoint a single pixel in an image
Image pixel hyperlink

 1:58 am on Feb 28, 2002 (gmt 0)

I would like access to a script that would allow the browser to click on an image in an effort to find a pre determined pixel that would take him/her to a 'winners' page ( a bit like a 'spot the ball' competition) as it would be a competition it would be important not to be able to identify the 'winning' pixel from either viewing the source or tabbing through the page links. Losing clicks should also take the browser to another 'losers page'
I hope this makes sense, and thanks in advance.



 4:46 am on Feb 28, 2002 (gmt 0)

Perhaps you should consider using a server-side image map.
Image map to set the x,y coordinates of the winning pixel, and server-side to keep the pixel location from appearing in the html.


 5:22 am on Feb 28, 2002 (gmt 0)

Hehe... Have you been playing TreeLoot much lately? (If coming up with the exact same idea they're using is actually just a coincidence, you might want to visit their site... I doubt they'll tell you how they do it, but it might give you ideas.)

I'd check the free cgi script sites (hotscripts.com, cgi.resourceindex.com, etc) and see if any of the perl geeks have come up with an automated system for setting up a giant, high-res, clickable imagemap... I'd hate to have to hand-code a page like that.


 6:00 am on Feb 28, 2002 (gmt 0)

Hey Mivox!
Also handles the cross-browser compat problem.
Have a look at this article [hotwired.lycos.com].


 6:16 pm on Feb 28, 2002 (gmt 0)

Good article... with leads on auto-generating resources for the coordinate mapping. :)

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / Site Graphics and Multimedia Design
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved