R
RobertK
I have a table that displays one row of images (thumbnails). When a
user clicks on an image it opens up a bigger image below it. The row
has about 20 cells. I have a <div> tag which allows the user to scroll
left and right to see all the images. The problem is that when the
user scrolls to the middle and clicks on the image. The click causes a
post back and the page loads again and the scroll bar goes to the
left.
I need to know how to save the horizontal scroll bar position of the
table and re position the scroll bar at the same position when the
page loads.
I am doing this in c# and using image buttons in each cell of the
row. The images are kept in the database.
user clicks on an image it opens up a bigger image below it. The row
has about 20 cells. I have a <div> tag which allows the user to scroll
left and right to see all the images. The problem is that when the
user scrolls to the middle and clicks on the image. The click causes a
post back and the page loads again and the scroll bar goes to the
left.
I need to know how to save the horizontal scroll bar position of the
table and re position the scroll bar at the same position when the
page loads.
I am doing this in c# and using image buttons in each cell of the
row. The images are kept in the database.