Content Slider > Posts >

 

Bullets Function

Reeve
one year ago
Viewed: 2421
17
Useful

Hi
I wish to enquire on how to use the Bullet Function, I wish to implement it into my HTML
For example there are 5 bullets. Instead of using the bullets which are generated automatically. I wish to hide the bullets and do something like this

A - B - C - D - E

So when I pressed A, it is equivalent to pressing the first bullet.
May I know what to put into my .html file

I can be contacted at reevelui@hotmail.com
Hope to hear from you soon



one year ago
milo   Edit
0

see the displaySlide(indexNumber) function illustrated on page http://www.menucool.com/slider/javascript-image-slider-demo4
So you can make the default nav bullets invisible by the CSS setting, then create your own A, B, C, D, E buttons, and give each button an onclick event that will:
<input value="A" onclick="imageSlider.displaySlide(0)" />
<input value="B" onclick="imageSlider.displaySlide(1)" />
...
New Answer