Forum Moderators: open

Message Too Old, No Replies

Moving DIV tag with page scrolling

Moving DIV Tag

         

Tota

4:49 pm on Jul 26, 2004 (gmt 0)

10+ Year Member



I have a table with two columns. Left column displays the overview of the data and the right coumn displays some action buttons. Now when the user is scrolling the page to view the left column info, i want to move the right column action buttons up/down too also with it.

These action buttons are inside a DIV tag, so will be moving the DIV tag.

initial position of the DIV tag should be X=600 Y=355.

also i dont want the action buttons to go down the last row of the info column. This means that if we are scrolling up then it should be from TOP 355 and if we are scrolling down then if we have not reached the last row it should be 355 other wise it should not go down the last row.

If the info column is smaller in height then the action column then upword scroll or downward scroll i want the top Y to be 355.

Any help in this regard will be greatly appreciated.

DrDoc

3:23 pm on Aug 2, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to WebmasterWorld! [WebmasterWorld.com]

Not quite sure I understand how exactly you want it to work... Anyone?

Tota

3:33 pm on Aug 2, 2004 (gmt 0)

10+ Year Member



I have done it, Where i want to stop the action buttons, i have a td there and assigned an id to it. On scrolling then i am checking the position of this td on the page.

If some one wants to view the example code, please let me know and i will sent it to.

Following link has my test page:

[nrccua.org...]