I am working on a script that scrolls table data in a continuous loop. The issue I have is, I keep getting the following error:
"too much recursion".
Does anyone know how I can use the script without this error happening?
$.fn.confScrollUp=function(){
var self=this,conf=self.children()
setInterval(function(){
conf.slice(30).hide()
conf.filter(':hidden').eq(0).slideDown()
conf.eq(0).slideUp(4000, "linear",function(){
$(this).appendTo(self)
conf=self.children()
})
},1)
return this;
}
$(function(){
$('section').confScrollUp()
})
There is not user interaction, its just for displaying data.
setIntervalfiring once every millisecond?