Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Problem with Chris’ Anything Slider Re: Problem with Chris’ Anything Slider

#78590
jbope
Participant

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.

Code:
// Creates the numbered navigation links
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’);
};