Filmstrip Next Scroll Amount Filmstrip Next Scroll Amount
 

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

Filmstrip Next Scroll Amount

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

Previous topic - Next topic

0 Members and 1 Guest 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.