Filmstrip Next Scroll Amount Filmstrip Next Scroll Amount
 

News:

CPG Release 1.6.28
added submissions from {406man}
cleaned up a few PHP (8.4) deprecations
fixed PHP deprecation in calendar
removed security vulnerability
(please upgrade when possible)

Main Menu

Filmstrip Next Scroll Amount

Started by nellygrl, January 06, 2012, 05:21:26 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

nellygrl

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

ΑndrĂ©

Open js/displayimage.js, find
tempWidth = parseInt(width) +3;
and replace with
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.