If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
Hi, I’m using aviaslide to add transitions to div’s. I need to be able to have the controls as text, ideally “One, Two, Three, Four” or “People, Buildings, Cars” is this possible?
in jquery.aviaslider.js search for following line:
var controller = $('<a href="#" class="ie6fix '+current_class+'"></a>').appendTo(controlls);
This code outputs the control links. You can write any text you like between the a href tags. If you want to use a counter you can try following code:
var controller = $('<a href="#" class="ie6fix '+current_class+'">'+i+'</a>').appendTo(controlls);
i is the slide index variable – maybe you need to adjust css afterwards to remove the bullet images :)
Hi thanks for that.
I need to have 3 different titles for the controls ie: “People”, “Business”, “Social”
How would I go about adding the 3 controls?
it’s possible by using i.e. an array which contains the link button captions and checking the index. Basically you need to replace the index variable “i” with your array content. You need some basic js coding knowledge for this modificcation though….
The topic ‘AviaSlide controls question’ is closed to new replies.