Тема: як обнулити таймер
як можна обнулити таймер на чужій сторінці ?
код таймеру
(function(e,t,n,r){"use strict";Foundation.libs.alerts={name:"alerts",version:"4.3.2",settings:
{animation:"fadeOut",speed:300,callback:function(){}},init:function(t,n,r)
{this.scope=t||this.scope;Foundation.inherit(this,"data_options");if(typeof n==="object"){e.extend(true,this.settings,n)}if(typeof n!=="string"){if(!this.settings.init){this.events()}return this.settings.init}else{return this[n].call(this,r)}},events:function(){var t=this;e(this.scope).on("click.fndtn.alerts","[data-alert] a.close",function(n){var r=e(this).closest(
"[data-alert]"),i=e.extend({},t.settings,t.data_options(r));n.preventDefault();r[i.animation](i.speed,function(){e(this).remove();i.callback()})});this.settings.init=true},off:function(){e(this.scope).off(".fndtn.alerts")},reflow:function(){}}})(Foundation.zj,this,this.document)