X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2Fnotidoc_test.php;h=2a93e33d13f32540439034a3f9916e15c54e8b25;hb=db5d6355c39327ba7f8052f360f1e846ba4ad01c;hp=b309c58f60e147b10d909e0a2e70af4cfe92beca;hpb=76e60a0d70700e42468b35921854fecc929254c5;p=brisk.git diff --git a/web/notidoc_test.php b/web/notidoc_test.php index b309c58..2a93e33 100644 --- a/web/notidoc_test.php +++ b/web/notidoc_test.php @@ -12,15 +12,18 @@ var subst = ""; var gst = new globst(); var nd; + var tva; window.onload = function() { - var i, sss = ""; + var i, noti_content = ""; for (i = 0 ; i < 20 ; i++) { - sss += "solo una prova
"; + noti_content += "solo una prova
"; } - nd = new notify_document(gst, sss, 4000, "pippo", 200, 200, true, 2000); + 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); } //-->