jQuery cycle question
Support QBN: Build your portfolio with Krop

jQuery cycle question

  • Started
  • Last post
  • 6 Responses
  • Oldest
  • Newest
  • Popular
  • Active
  • dbloc

    is there a way to hide the pager if there is only 1 image?

    dbloc
    Flag
  • dbloc0

    I guess you could hide/show with php using a class

    any other ways?

    dbloc 0Permalink
    UpvoteDownvote
    Dogear
    Flag
      Show [[ numHiddenNotes ]] more notesAdd Note
      SaveCancel
    • dbloc0

      anything built into cycle?

      dbloc 0Permalink
      UpvoteDownvote
      Dogear
      Flag
        Show [[ numHiddenNotes ]] more notesAdd Note
        SaveCancel
      • ********
        0

        there must be, wild guess: using the length property of Js arrays

        ********
        0Permalink
        UpvoteDownvote
        Dogear
        Flag
          Show [[ numHiddenNotes ]] more notesAdd Note
          SaveCancel
        • ********
          0

          I would use JS not PHP

          ********
          0Permalink
          UpvoteDownvote
          Dogear
          Flag
            Show [[ numHiddenNotes ]] more notesAdd Note
            SaveCancel
          • dbloc0

            Got it!

            {% if product.images[2] != undefined %}
            ....do something cool
            {% endif %}

            dbloc 0Permalink
            UpvoteDownvote
            Dogear
            Flag
            • < in shopifydbloc
            • sucks
              ********
            Show [[ numHiddenNotes ]] more notesAdd Note
            SaveCancel
          • Hombre_Lobo0

            Hombre_Lobo 0Permalink
            UpvoteDownvote
            Dogear
            Flag
              Show [[ numHiddenNotes ]] more notesAdd Note
              SaveCancel
            Login or Register to respond to this.
            PrevNext
            PrevNext
            © 1999-2026 QBN LLC.
            • Log in
            • Register
            • Broadcast
            • Filter
            • Jingle
            Made with ❤ by Krop Build a Portfolio Website