forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Themes/Skins/Templates => Topic started by: zigurana on September 23, 2005, 07:41:23 pm

Title: auto scroll down to image?
Post by: zigurana on September 23, 2005, 07:41:23 pm
Hi you all!

I've got the following:
http://www.thamatrix.nl/janneke/zeeland/blog/copper/displayimage.php?album=15&pos=0
a combination of a Pivot messageboard and Coppermine photoalbum, both spiced up with my own design.
Anyhow as you can see, the designpart takes up quite some space, in my FF-browser with toolbars etc, it takes up +/- 30% of the screen.
As my intermediate picturesize is 450px this won't fit.

So every time a user skips to the next pic, he/she has to scroll down to get a good view of the image.
So I'm trying to find a way to let the page autoscrol down to the image (or title) when a user clicks on the prev|next buttons.

I've found a workaround for this, by adding a anchor in displayimage.php, but is does not seem to work.

Anybody other suggestions, maybe the same achor construction buth then in template.php? or in theme.php?

As you can understand, changing the design is not an option.

Thanks in advance!

BTW: Great piece of software, easy to customize, just the way i like it!