Advanced search  

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

Pages: [1]   Go Down

Author Topic: Filmstrip Next Scroll Amount  (Read 2604 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.017 seconds with 19 queries.