I want to disable click event on bxslider pagers without touching core bxlslider files.
Is it possible.. ? Please guide me in right direction.
Thanks in advance.
As per my understanding, you only want to use the bullets to denote the current slide. That is not the purpose of bxslider's pager bullets. I would suggest taking this approach:
ul
element with n number of li
elements, where n is the number of slides. You can use javascript to generate the li elements dynamically.li
elements hollow circles as per your design requirements.onSlideAfter
callback, add a class e.g. 'active' class to corresponding li
element, while removing it from all sibling li
elements. Use css to highlight this 'active' li
item.I can post the code, if you find this approach useful.