Home › Forums › CSS › Problem with Chris’ Anything Slider › Re: Problem with Chris’ Anything Slider
I am not sure how to remove the numbers. They do not appear to be in the HTML tags.
I think they are being generated by jquery. Unfortunately, I have not learned jquery yet.
I am including the code.
base.buildNavigation = function(){
base.$nav = $(“
“).appendTo(base.$el);
base.$items.each(function(i,el){
var index = i + 1;
var $a = $(““);
// If a formatter function is present, use it
if( typeof(base.options.navigationFormatter) == “function”){
$a.html(base.options.navigationFormatter(index, $(this)));
} else {
$a.text(index);
}
$a.click(function(e){
base.gotoPage(index);
if (base.options.hashTags)
base.setHash(‘panel-‘ + index);
e.preventDefault();
});
base.$nav.append($a);
});
base.$navLinks = base.$nav.find(‘> a’);
};