//================= Carousel ================
$(function(){
$(".gnd-carousel").jCarouselLite({
bntNext: '.next', //---------> http://top70.mobile.in
bntPrev: '.prev',
visible: 1,
//auto: 8000,
speed: 800,
vertical: true
});
});
//================= timebar ==================
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();
//------------- aqui quero colocar o código para clicar no bntNext: '.next' ----------
}
}ow can i auto click on the link on page load? i have been trying for ages but id doesn`t work.