Lighbox On Image Open In New Page And Not On Lighbox - Question | JoomShaper
Black Friday sale is live with flat 50% OFF. Sale ends soon! Grab your deal now!

Lighbox On Image Open In New Page And Not On Lighbox

T

turha71

SP Page Builder 3 years ago

Hi,

When I try to open an image on lighbox it opens in a new window and not in light box. When I go to console I see this error:

Uncaught TypeError: Cannot read properties of undefined (reading 'top')
    at HTMLDocument.<anonymous> (main.js:95:49)
    at u (jquery.min.js?399941daa32d073f9607466196f6a213:2:27579)
    at Object.fireWith [as resolveWith] (jquery.min.js?399941daa32d073f9607466196f6a213:2:28337)
    at Function.ready (jquery.min.js?399941daa32d073f9607466196f6a213:2:30124)
    at HTMLDocument._ (jquery.min.js?399941daa32d073f9607466196f6a213:2:27307)

The line 95 on main.js is this one:

var stickyNavTop = fixedSection.offset().top;

What is causing this and how to solve it?

Thanks

0
2 Answers
Rashida Rahman
Rashida Rahman
Accepted Answer
Support Agent 3 years ago #75663

Hi there!

Sorry for the inconvenience.

Is there any third party extension you are using, please? More likely cookie plugin? If yes, please disable the cookie plugin/extension then clear you Joomla and browser cache and check again.

Kindly, do let me know if it helps!

Best Regards

0
T
turha71
Accepted Answer
3 years ago #75729

Hi,

I don't have such a extension. I'm sending administrator login for you to check.

Thanks

0