// Carousel
$(function(){
$(".peq-carousel").jCarouselLite({
bntNext: '.next',
bntPrev: '.prev',
visible: 7,
auto: 3000,
speed: 800,
vertical: true
});
});
// Barra Progresso
function startbar(){
var barr = document.getElementById('timeBar');
var maxx = barr.max;
var vall = barr.value;
if ( vall < maxx ){
barr.value++;
setTimeout("startbar()", 7);
}
if ( vall >= maxx ){
barr.value=0;
startbar();
}
}
The function that I showed above, works very well the slide carousel. Just like the function of the progress bar. But how do I make my progress bar function click on the object "bntNext: '.next'" Every time she turns .. ???? Where in the progress bar commands, should I put a code, or some variable ...