Welcome to WebmasterWorld Guest from 50.17.117.221

Forum Moderators: not2easy

Message Too Old, No Replies

Pinpoint a single pixel in an image

Image pixel hyperlink

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

New User

5+ Year Member

joined:Aug 20, 2008
posts:17
votes: 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)

Preferred Member

10+ Year Member

joined:May 9, 2001
posts:416
votes: 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)

Senior Member

WebmasterWorld Senior Member mivox is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Dec 6, 2000
posts:3928
votes: 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)

Preferred Member

10+ Year Member

joined:May 9, 2001
posts:416
votes: 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)

Senior Member

WebmasterWorld Senior Member mivox is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Dec 6, 2000
posts:3928
votes: 0


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

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members