see attached picture. the orange "spinner" icon at the far left is designed to let user control to move the row up or down. It is 19px high. I want to write something like this:
Except, I don't know javascript well enough and obviously there is no such thing as "offsetY"Code:<script language="JavaScript"> function indexRow(o,e){ alert('position is '+ (o.offsetY)) } </script> <img id="index_1" src="images/buttons/spinner.png" onclick="indexRow(this,event);" height="19" />
Can anyone help with this? thanks!


Reply With Quote
Bookmarks