div.style.visibility = "visible";
}
+/*
+ st
+ text
+ tout: if < 0 => infinite
+ butt: [ strings ]
+ w:
+ h:
+ is_opa:
+ block_time:
+ */
+
function notify_document(st, text, tout, butt, w, h, is_opa, block_time)
{
var i, clo, clodiv_ctx, clodiv_wai, box;
this.ancestor.appendChild(box);
- this.toutid = setTimeout(function(obj){ obj.unblock(); }, tout, this);
+ if (tout > 0) {
+ this.toutid = setTimeout(function(obj){ obj.unblock(); }, tout, this);
+ }
if (block_time != 0) {
this.tblkid = setTimeout(function(obj){ obj.notitag.removeChild(obj.clodiv); obj.clodiv = obj.clodiv_pkg; obj.clodiv.style.display = ''; obj.notitag.appendChild(obj.clodiv); }, block_time, this);
noti_content += "solo una prova<br>";
}
- nd = new notify_document(gst, noti_content, 10000, [ "pippo", "pluto", "paperino" ], 200, 200, true, 5000);
+ nd = new notify_document(gst, noti_content, -1, [ "pippo", "pluto", "paperino" ], 200, 200, true, 0);
tva = setInterval(function(nd){ console.log("nd.ret = "+nd.ret_get()+" gst.st_loc: "+gst.st_loc+" gst.st_loc_new: "+gst.st_loc_new ); }, 1000, nd);
}