Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: auto scroll down to image?  (Read 3816 times)

0 Members and 1 Guest are viewing this topic.

zigurana

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
auto scroll down to image?
« 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!

Logged
Pages: [1]   Go Up
 

Page created in 0.023 seconds with 21 queries.