The install package does not include a playPause.png image file. Can we have one, please?
The install package does not include a playPause.png image file. Can we have one, please?
Sure. You can create the playPause.png and use it by adding styles in the stylesheet.
This fix didn't work for me. Suggestions?
The Pause/Play button will be automatically generated. If you check the slider page with Chrome developer tool, you will find:
<div id="ninja-slider-pause-play"></div>
When the Ninja Slider is paused, it will become:
<div id="ninja-slider-pause-play" class="paused"></div>
If you open the ninja-slider.css file, you can find this line of code:
#ninja-slider-pause-play { display:none;}
So to make the Pause/Play button visible, just modify its style to:
#ninja-slider-pause-play { display:block; width:30px; height:30px; background:#ccc url(playPause.png) no-repeat 50% 0px;}
#ninja-slider-pause-play.paused { background-position:50% -40px;}
If you dislike the automatically generated Pause/Play button, you can add it yourself when coding the slider markup. You can add the following markup anywhere in the page:
<div id="ninja-slider-pause-play"></div>
The slider will stop creating the Pause/Play button when it finds the element above is present in the page.
If your question is related to the topic of this post, you can post your question to this page by clicking the "Post a reply" button at left;
If your question is related to the Ninja Slider, click:
Ask new question: Ninja SliderOtherwise navigate to one of the following forum categories, and post your question there.
##