-
Hi! The problem is that the slides in the layout are placed in columns from left to right and top to bottom. I want to number the slides so that fancybox can understand and flip them not by columns but by rows. Thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi, Well, there is no built-in mechanism to customize order of the slides, gallery items have the same order as their corresponding links in the DOM . However, the solution is to use API to start Fancybox programmatically:
|
Beta Was this translation helpful? Give feedback.
Hi,
Well, there is no built-in mechanism to customize order of the slides, gallery items have the same order as their corresponding links in the DOM . However, the solution is to use API to start Fancybox programmatically:
Fancybox.show([{src: IMG_SRC, $thumb: THUMBNAIL}])
, see docs for your version of Fancybox)