Very Basic Question
Very Basic Question
Hi all, please excuse my stupidity, I'm brand new at this and I hope I'm posting my question in the right place.
I'm attempting to modify a slider that I found online. Here is the script that I have so far:
$('#newslider ul a').click(function () {
$('#newslider ul a').removeClass('active');
$(this).addClass('active');
$('.mask').scrollTo($(this).attr('rel'), 300);
return false;
});
Very basic, but so far it does what I need it to do. Basically, I am in need of a slider with "tabs" that users may click on to navigate to a certain slide. I want these tabs to be clickable, but I also want the slider to automate so that it will cycle through all the slides automatically if the user does not click on any of the tabs. I got the tabs to click through fine, but I am unsure of how to make the slider automate.
As I said, I'm brand new to this, and am trying to figure everything out on my own with no teaching, so any help would be greatly appreciated. Let me know if my question requires any additional info. Thanks in advance--