• Resolved gabrus

    (@gabrus)


    Hi guys!
    I was trying to use the lightbox with the foo gallery, but i have some problem with the code! I have already put the gallery in my page but when i click on a casual image, i don’t get the lightbox! I get this error in my console:
    TypeError: $(…).foobox is not a function
    $(“.foogallery-container.foogallery-lightbox-foobox, .foogallery-container.fooga…

    What I should do?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author bradvin

    (@bradvin)

    Hey

    Can you link to your page?

    I have seen this error before when the scripts are loaded via async, which could be your problem.

    Thread Starter gabrus

    (@gabrus)

    Here’s the link:
    http://www.freshanimazione.it/bambini/+
    Thank’s for the help!

    EDIT:
    Click on “Mascotte” to see the gallery!

    • This reply was modified 9 years, 8 months ago by gabrus.
    Plugin Author bradvin

    (@bradvin)

    thanks – I had a look at your page, and the reason for the error is your theme is including it’s own version of jquery (which is bad practice). It should be including the jQuery that is bundled in WP.

    If you can remove the code that includes the duplicate jquery then it should work

    Plugin Author bradvin

    (@bradvin)

    We have figured out a workaround for this scenario. It is included in the 1.1.9 release which is now available. Please upgrade and your problems will be fixed

    Thread Starter gabrus

    (@gabrus)

    Perfect! Thank you very much!

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Problem with javascript’ is closed to new replies.