[Plugin: Promotion Slider] Styling the individual navigation links not working
-
For the default links, the css class for the nav links are currently just plain numbers. This doesn’t work for most browsers. I modified some of the code locally to add another css class and its working well. Please consider adding this in for your next release:
promo_slider.js ~173: newSpan = ‘<span class=”‘+(index+1)+’ item_’+(index+1)+'” title=”‘+panelTitle+'”>’+(index+1)+'</span>’;
and to make the clicks work, get first work from class list…
promo_slider.js: 100:
if( !jQuery(object).hasClass(‘current’) ) progress( jQuery(object).attr(‘class’).indexOf(‘ ‘) >0
? jQuery(object).attr(‘class’).substring(0,jQuery(object).attr(‘class’).indexOf(‘ ‘)+1)
: jQuery(object).attr(‘class’),
currentSlider, panelCount);https://www.ads-software.com/extend/plugins/promotion-slider/
- The topic ‘[Plugin: Promotion Slider] Styling the individual navigation links not working’ is closed to new replies.