Not sure where I have gone wrong

news's Avatar

news

08 Feb, 2019 01:06 AM

Trying to get the slider to work; https://www.gaynz.com/gallery/gallery-night-of-the-queer-2019/ but I have been unsuccessful

  1. Support Staff 1 Posted by Dmitry Semenov on 08 Feb, 2019 07:24 AM

    Dmitry Semenov's Avatar

    Hello,

    You have a syntax mistake in HTML markup of the page, change:

    <script src="/royalslider/jquery.royalslider.min.js" />
    

    to

    <script src="/royalslider/jquery.royalslider.min.js"></script>
    
  2. 2 Posted by news on 08 Feb, 2019 09:28 AM

    news's Avatar

    Hi Dmitry

    I've made the change, but it's still not working 

    Thanks

    Drew

  3. Support Staff 3 Posted by Dmitry Semenov on 08 Feb, 2019 01:07 PM

    Dmitry Semenov's Avatar

    You're initializing slider with selector #gallery, but ID attribute of your slider element is gallery-1.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac