"scroll-to-anchor + XX pixels" problem
Posted: Sat Nov 14, 2009 7:03 am
Hi,
I have several dates (for band gigs) recorded in a single mysql table and they are presented in one, long list. I have recently implemented an edit function which is working, but not looking, as it should.

The blue div on the right is fixed and scrolls down the page "with" the user, always 95 px from the browser window top. What happens when you click edit on a date as of now:

What I would like to do:

I would like that the to-be-edited date (red border) aligns with the div on the right, 95 px from the browser window. I don't know how to do this in javascript, so any help would be greatly appreciated.
Thanks,
Jason
I have several dates (for band gigs) recorded in a single mysql table and they are presented in one, long list. I have recently implemented an edit function which is working, but not looking, as it should.

The blue div on the right is fixed and scrolls down the page "with" the user, always 95 px from the browser window top. What happens when you click edit on a date as of now:

What I would like to do:

I would like that the to-be-edited date (red border) aligns with the div on the right, 95 px from the browser window. I don't know how to do this in javascript, so any help would be greatly appreciated.
Thanks,
Jason