auto scroll down to image? auto scroll down to image?
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

auto scroll down to image?

Started by zigurana, September 23, 2005, 07:41:23 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

zigurana

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!