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

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

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!