3D FlipBook - What is the best way to trigger some php function when clicking on a thumbnail?
i***k@gmail.com
2020-09-22
2020-09-24
Hi,
Basically I want to pre-generate a pdf (depending on some chosen options) to be displayed
Thanks in advance!
Replies
a***r@3dflipbook.net
2020-09-24
2020-09-24
Hi, i guess you need to create ajax function that will generate the pdf, click on thumbnail will call it jQuery.get, when it is finished - activate lightbox - trigger click for link-lightbox mode.
i***k@gmail.com
2020-10-02
2020-10-02
Hi. Thanks for the hints. Could you maybe help on the next also: what would be the selector to pass to a jQuery function for a thumbnail?
a***r@3dflipbook.net
2020-10-05
2020-10-05
i recommend to use your own css class. plugin uses: fb3d-thumbnail-lightbox-mode, _3d-flip-book classes
Hi, i guess you need to create ajax function that will generate the pdf, click on thumbnail will call it jQuery.get, when it is finished - activate lightbox - trigger click for link-lightbox mode.
Hi. Thanks for the hints. Could you maybe help on the next also: what would be the selector to pass to a jQuery function for a thumbnail?
i recommend to use your own css class. plugin uses: fb3d-thumbnail-lightbox-mode, _3d-flip-book classes