How to slow down the decay rate of the nextGen gallery plugin

I would like to change the speed with which photos disappear and exit the main slideshow from the NextGen gallery plugin for wordpress. I know there is a setting to change how often photos change, however I would like to slow down the actual disappearance.

I assume that I need to change jQuery, but it is difficult for me to find the file where this speed is installed.

Edit: I am using version 2.0.40 if that matters.

+4
source share
2 answers

in, , \wp-content\plugins\nextgen-gallery\nggfunctions.php

after (line 129), 'fx:"'.$ngg_options['slideFx'] . '",' .

Add 'speed: 1000,' .

Here it generates loop plugin parameters.

Update: for NextGen v2

- . , , . jquery.cycle.all.min.js . jquery.cycle.all.js . , speed:1e3 .

. jquery.cycle.all.min.js . -, , .

, .

+3

, , jquery cycle, : jquery.cycle.all.js : products- > photocrati_nextgen- > modules- > nextgen_basic_gallery- > static- > - .

:

speed:            1000,     // speed of the transition (any valid fx speed value)

1065.

0

Source: https://habr.com/ru/post/1529504/


All Articles