There is the next slider . In addition to the right / left arrows in the upper right corner there are points for switching slides. For some reason, these buttons are missing in the downloaded slider, although they are written in the code. How can I enable these buttons?
1 answer
Collected a working example: jsFiddle
In this slider, you need to register the points for switching slides yourself.
In this example, this html-code is responsible for this:
<div id="myController"> <span class="jFlowControl"></span> <span class="jFlowControl"></span> <span class="jFlowControl"></span> <span class="jFlowControl"></span> </div>
And this is how it connects in the slider settings:
<script type="text/javascript"> $(document).ready(function(){ $("#myController").jFlow({ controller: ".jFlowControl" // указывать класс вместе с точкой! }); }); </script>
Here we associate elements inside the <div>
with id jFlowControl
with the corresponding picture (in ordinal number).
In the demo example there are 4 pictures, therefore we display 4 span
with id jFlowControl
on the page.
- oneLine 443 in my jsFiddle example. effect: "flow" - can apply two values: "rewind" and "flow". Alas, I did not find any other settings. "Flow", as far as I noticed, just does not use "rewind". - VenZell
- And for some reason, I use both flow and rivind. - Frontender
- Oh, no. You're right. Rewind no. Thank. - Frontender
- Can I use your application somehow at once? - Frontender
- one
|