$f = $data[0];
chomp($f);
sleep(1) if($f eq $old);
- }while($timer++ < 60 && $f eq $old);
+ }while($timer++ < 40 && $f eq $old);
-print $f;
\ No newline at end of file
+print $f;
<hr>
<button type="button" onClick="updatefiles();">Update file list</button>
<div id="files"> </div>
-<button type="button" onClick="window.open('store/$room/'+document.getElementById('filelist').value)">Show Me!</button>
-<button type="button" onClick="present(document.getElementById('filelist').value)">Show All!</button>
+<button type="button" onClick="window.open('store/$room/'+document.getElementById('filelist').value)">Show 2 Me</button>
+<button type="button" onClick="present(document.getElementById('filelist').value)">Show 2 All</button>
</body></html>
HDOC