Mirjan Cocka
Published in : 2021-09-12
Wanted to ask if anyone have experience with this. i want to build this gallery as seen on screen. when user clicks it opens other images on lightbox. now with a jquerry code, i can make it work in a normal page, but this gallery need to be in a popup and js doesnt work (using jetengine map).
Join our community and get the chance to solve your code issues & share your opinion with us
Sign up Now
Mohamed Atef Date : 2021-09-12
Best answers
51
Best answers
51
Which page builder you are using?
if you are using wpbakery you can handle it but it will require coding, by adding a regular image & open it in lightbox on click then you will take the code from the inspect element and edit but the gallery will have to be custom codded.
if you want to make it using jquery only you will have to use click event and built the popup in custom coding and you will make the jquery click event like
this is just a hint about how it suppose to be working but it will require a lot of coding & if you want to make it custom coded you will need to make a custom post type or custom field on the page & use “owl carousel” and jQuery
let me know if you have another question, Thanks for using Web-brackets
Mirjan Cocka Date : 2021-09-12
i use elementor. i used jetengine t make a custom post type and show 3 diferent locations in map. when map icon is clicked, a popup is opened with info + this gallery. and when the 4rth img is clicked , it opens rest of photos.
Mirjan Cocka Date : 2021-09-12
//prnt.sc/1ry0vg2
by adding a class in gallery and this code, it works perfect on a normal page, but in this google marker popup js doesnt works
Mohamed Atef Date : 2021-09-13
Maybe you need to check the console and see what is the error or in which line?
and is this a fatal error or logical issue