Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Design image gallery error

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #269077
    Laszlo
    Participant

    Hi,

    I am having a problem with my image gallery made using javascript.

    The problem isthat I have two image gallery’s on the bottom of the page insted of one.

    Please let me know what to do and how to fix the error.
    https://codepen.io/laszloboruzs26/pen/LdQrgQ

    #269093
    JeroenR
    Participant

    In the codepen example you have 2 sliders because you are calling the functions twice. You have script in your HTML editor and also in the script editor.
    So if you get rid of all the script in the HTML view and just stick to the script in the script view it will probably be fine.

    I see lightslider being called on the element with selector #content-slider, which doesn’t exist by the way.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘Design’ is closed to new topics and replies.