Using javascript on an HTML table?

Posted by Michael McKay on Stack Overflow See other posts from Stack Overflow or by Michael McKay
Published on 2010-04-06T04:58:05Z Indexed on 2010/04/06 5:03 UTC
Read the original article Hit count: 278

Filed under:
|
|

Hi, few questions, just wondering if anyone can help?

I have a table with 1 long row (1000 pixels) and one single column, how do i go about creating a method whereby when the mouse cursor is on the leftmost side of the cell, a variable, lets say X is set to 0, the further right the mouse cursor moves in the cell, the value of X increases.

I know that sounds like a strange question but im working on a project where this type of functionality is desired.

Is there a javascript method to create this feature?

Thanks for any help.

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about html