Forum Moderators: open
I alread have code that allows the user to click the image on the right, and it appears in the left. The way I do this is load all the images in both divs, but in the left div, they are initially hidden. (Visibility=hidden)
The javascript unhides them as they are clicked on the right hand side.
My problem is, the div starts out very large and empty, because it is retaining space for all the images. Also, if the user clicks an image half-way through the list, it appears half-way down the left div.
I would like the size of the div to be dynamic, so that it starts small, and grows as images are added.