I have index page. On 404 page I inserted index page through the iframe. For timer i use the code below:
var timer = setInterval(function () {methods._next(data,options)},3000);
$("#centralPanelBorder, #leftBlock, #rightBlock").hover(function () {
clearInterval(timer);
},
function () {
timer = setInterval(function () {methods._next(data, options)},3000);
})
This code works fine on the index page but on iframe - methods._next is doubled, and if I try hover and unhover - timer is not deleting, but multiplicate. How to resolve that? Thanks
UPD: resolved