Forum Moderators: not2easy
I use a table and javascript to operate a kind of spreadsheet which could be 100 or more rows. For specific cells I need to popup a div with a message and additional user input. I need the div to be positioned within a few pixels horizontally of the cell that was clicked by the user.
I capture a vertical position of the click in a javascript variable 'vert' and need the inline <DIV> style to pay attention to style=
"position:absolute;top:vert".
That doesn't want to cooperate. Can anyone suggest an alternative.
Thanks in advance for helping out a newbie.
If you give the div:
POSITION: absolute;
TOP: 10px;
for example, your <div> will be positioned 10px below the top of the cell regardless of where the cell is. But again, the cell itself must have POSITION: relative applied to it for this to work.
Hope this helps.