====== Differences ====== This shows you the differences between two versions of the page.
|
script_double_click [2014/06/30 13:53] trianguloy created |
script_double_click [2014/07/22 14:45] (current) trianguloy |
||
|---|---|---|---|
| Line 12: | Line 12: | ||
| ====== Script code ====== | ====== Script code ====== | ||
| - | <code> | + | <sxh javascript> |
| //time in milliseconds between clicks | //time in milliseconds between clicks | ||
| var delta = 250; | var delta = 250; | ||
| Line 47: | Line 47: | ||
| setTimeout(function(){data2=JSON.parse(LL.getScriptTag())||[-1,-1];if(data2[0]==id&&data2[1]==time)singletap();},delta); | setTimeout(function(){data2=JSON.parse(LL.getScriptTag())||[-1,-1];if(data2[0]==id&&data2[1]==time)singletap();},delta); | ||
| } | } | ||
| - | </code> | + | </sxh> |