The thing is, I added a couple of intervals to the setInterval page, slider, etc. And already the page inadequately behaves "buggy" slightly, I can not understand the problem, I leave even just one setInterval on the page, but somehow the site behaves in a wrong way, although nothing bad happens. In the interval, simply b ++ if (b> c) b = 1; The loop itself is endless for a slider.
So prescribe setInterval:
var b = 1; var c = 10; var time = 3000; function loadednext() { b++; if (b > c) { b = 1; } } var inter = setinterval(loadednext, time);