Add a count feature
Permalink Browser Info Environment
Hi,
Please can you tell me how to add a counter to the slider. I am new to concrete and JavaScript. For example 1 of 9.
Regards.
amnthony
Please can you tell me how to add a counter to the slider. I am new to concrete and JavaScript. For example 1 of 9.
Regards.
amnthony
Type: | Discussion |
---|---|
Status: | New |
We already replied to your support message with a solution for your needs. Anyway, we post here in the forum so everyone is able to access this solution:
------------------------ QUOTE ------------------------
If we understood correctly, the problem hides in showing a counter with no user control over it just to inform wich slide is actually showing.
In that case, since our Slider is designed to work with scrapbook content, the solution could be as simple as entering the count as part of the content/image of the slide (note: since you can show any kind of content, you could mix up two different images into one single element).
Otherwise, you could code a solution into your own slide by editing the file view.php:
You just need to insert a new element into the "cycle" function called "before" and set a callback function:
Then you can code a javascript function called "name" which makes the work for you:
We hope you find usefull this possible solution, feel free to ask if you find any problem with it.
Sincerely,
USERTIC