Pixel Question

Javascript coding ..

Moderators: egami, macek, gesf

Post Reply
macanet
New php-forum User
New php-forum User
Posts: 18
Joined: Tue Nov 29, 2005 8:25 am

Thu Jan 12, 2006 3:01 am

Hi All - I would like to try something but don't know where to start.

I want a 10,000 x 10,000 pixel square on my web page -

I then want a "mouse-over" so what ever pixel the mouse pointer is over a pixel with in that square then a comment comes up with what number the pixel is - pixel 3567 pixel 56790 and so on -

you get the idea.

Any help on this ? - It's just an experiment

Ian
:help:

User avatar
Alexej Kubarev
Site Admin
Site Admin
Posts: 2214
Joined: Fri Mar 05, 2004 7:15 am
Location: Täby, Stockholms län
Contact:

Thu Jan 12, 2006 1:19 pm

i guess its like milliondollarhomepage.com
hehe, well its javascript and you will simply need to make that area as a div and look for the coordinates on mouse over event..
you will need to have basic understanding of how javascript will be able to do it and even check for a Jscript that willb e able to show such a tooltip.
Best Regards,
Alexej Kubarev
-------------------------------
Zend Certified Engineer
Image Image

User avatar
ruturajv
php-forum Super User
php-forum Super User
Posts: 1279
Joined: Sat Mar 22, 2003 9:42 am
Location: Mumbai, India
Contact:

Thu Jan 12, 2006 8:26 pm

u can use a simple image map and "title" attribute for the anchor link

User avatar
Alexej Kubarev
Site Admin
Site Admin
Posts: 2214
Joined: Fri Mar 05, 2004 7:15 am
Location: Täby, Stockholms län
Contact:

Thu Jan 12, 2006 11:13 pm

well... thats possible as well.. but you will need tons of image maps as you want them to be pixel for pixel...
that seems pretty bad to have...
Best Regards,
Alexej Kubarev
-------------------------------
Zend Certified Engineer
Image Image

Post Reply
  • Information
  • Who is online

    Users browsing this forum: Google [Bot] and 1 guest