nicinabox / superslides

A fullscreen, hardware accelerated slider for jQuery.
http://archive.nicinabox.com/superslides
MIT License
1.51k stars 442 forks source link

Bubble Navigation with <li id=""> Pagnation #164

Open asulacom opened 11 years ago

asulacom commented 11 years ago

Hi,

Great code, exactly what I was looking for.

I've noticed that you use unordered lists for your slides on http://nicinabox.com/superslides/#1

I tried out the same set up with pagnation and the bubble nav stopped working.

How would I go about using an unordered list stet up with custom pagnation?

Currently running 0.6.2

Thank you for your time,

Andrew

<div id="slides">
    <ul class="slides-container">
      <li id="bob">
        <img src="images/bob.jpg" alt="" id="vista">
        <div class="container">
          <h1>heading</h1>
          <p>
          text 
          </p>
        </div>
      </li>
      <li id="mike">
        <img src="images/mike.jpg" alt="">
        <div class="container">
          <h1>heading</h1>
            <p>
             text
            </p>
        </div>
      </li>
      <li id="joe">
        <img src="images/joe.jpg" alt="">
        <div class="container">
          <h1>heading</h1>
            <p>text</p>
        </div>
      </li>

    </ul>
    <nav class="slides-navigation">
      <a href="/#" class="next">
        <i class="icon-chevron-right"></i>
      </a>
      <a href="/#" class="prev">
        <i class="icon-chevron-left"></i>
      </a>
    </nav>
  </div>
gerwitz commented 10 years ago

I'm having this same problem: the pagination controls each always return to the first slide. I've spent minimal time debugging so far, but if you ever figured this out I'd love to hear!

zumuha commented 10 years ago

same problem here... the pagination controls each always return to the first slide...