X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2Fnotidoc_test.php;h=2a93e33d13f32540439034a3f9916e15c54e8b25;hb=484a365c1e66ba4b878117275423a1594c209960;hp=b892ccb67ffb6c5961aedb4ddad3ec5072a68d25;hpb=e22dc9f5d5b482780e577ca5f8c5a08c8cc9bc84;p=brisk.git diff --git a/web/notidoc_test.php b/web/notidoc_test.php index b892ccb..2a93e33 100644 --- a/web/notidoc_test.php +++ b/web/notidoc_test.php @@ -15,15 +15,15 @@ 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", "pluto", "paperino" ], 200, 200, true, 2000); + nd = new notify_document(gst, noti_content, -1, [ "pippo", "pluto", "paperino" ], 200, 200, true, 0); - tva = setInterval(function(ndd){ console.log("nd.ret = "+ndd.ret_get()); }, 3000, nd); + 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); } //-->