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: Filmstrip Next Scroll Amount  (Read 2586 times)

0 Members and 1 Guest are viewing this topic.

nellygrl

  • Coppermine newbie
  • Offline Offline
  • Posts: 18
Filmstrip Next Scroll Amount
« on: January 06, 2012, 05:21:26 pm »

Hi!

Could anyone tell me how I would go about changing the, what I guess you would call, scrolling amount in the filmstrip when you click the next button.

Right now, when the next button is clicked, it doesn't scroll enough to the right, causing the next image to be cut off and having to click the button again.

So is there any way to change this to make the scroll amount the exact width of my thumbnails?

The example of the issue is here: http://onedirectionconnection.com/gallery/displayimage.php?album=2&pid=351#top_display_media

Thanks for your time!

~Noelle
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Filmstrip Next Scroll Amount
« Reply #1 on: January 11, 2012, 12:37:48 pm »

Open js/displayimage.js, find
Code: [Select]
tempWidth = parseInt(width) +3;and replace with
Code: [Select]
tempWidth = parseInt(width) + 19;(twice). Unfortunately this is theme depended (margin / padding), so that solution works only for your current theme. It works as expected with the curve theme without any modifications.
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 20 queries.