Menu icon Foundation
next_on_click: false not working.

<div class="row" id="orbit-slider">
            <ul class="example-orbit-content" data-orbit data-options="animation:slide;animation_speed:1000; pause_on_hover:false;navigation_arrows:true;bullets:false;next_on_click:false;">
    			  <li data-orbit-slide="headline-1">
					<div>
					  <h2>Headline 2</h2>
					  <h3>Subheadline</h3>
					  </div>
				  </li>
				  <li data-orbit-slide="headline-2">
					<div>
					  <h2>Headline 2</h2>
					  <h3>Subheadline</h3>
					</div>
				  </li>
				  <li data-orbit-slide="headline-3">
					<div>
					  <h2>Headline 3</h2>
					  <h3>Subheadline</h3>
					</div>
				  </li>
			</ul>
</div>
            

         

When I click on the content of any slide, the slider, slides to a blank slide.

sliderOrbit

<div class="row" id="orbit-slider">
            <ul class="example-orbit-content" data-orbit data-options="animation:slide;animation_speed:1000; pause_on_hover:false;navigation_arrows:true;bullets:false;next_on_click:false;">
    			  <li data-orbit-slide="headline-1">
					<div>
					  <h2>Headline 2</h2>
					  <h3>Subheadline</h3>
					  </div>
				  </li>
				  <li data-orbit-slide="headline-2">
					<div>
					  <h2>Headline 2</h2>
					  <h3>Subheadline</h3>
					</div>
				  </li>
				  <li data-orbit-slide="headline-3">
					<div>
					  <h2>Headline 3</h2>
					  <h3>Subheadline</h3>
					</div>
				  </li>
			</ul>
</div>
            

         

When I click on the content of any slide, the slider, slides to a blank slide.

This post has been closed. No new replies can be added.

Rafi Benkual almost 6 years ago

Looks like your code is right. But there are two issues here. One is that the slide should not go blank when clicked. There is a pull request on github for this that we are testing https://github.com/zurb/foundation/pull/4020

Second, the slide should do nothing if next_on_click:false;

We will see if this happens after resolving the github issue. We'll close this here in favor of the bug correction on GitHub.

Thanks!

Rafi Benkual almost 6 years ago

Hey Ben, we just merged the pull request and it fixed it! The master has the update, but will be part of 5.0.3 which pushes on Tuesday next week.