new branch windows

This commit is contained in:
Hash Borgir
2021-03-22 05:12:11 -06:00
parent b3d62294e6
commit 49003c236a
29 changed files with 807 additions and 0 deletions

24
javascript-api.php Normal file
View File

@@ -0,0 +1,24 @@
<style type="text/css">@import url("style.css");</style>
<a href="index.php">Go back to index</a>
| <a href="<?php echo $_SERVER["REQUEST_URI"];?>">Refresh</a>
<h1>Javascript API</h1>
<p>PHP Desktop exposes its API through the javascript "phpdesktop"
object that is binded to the window object.</p>
<a href="javascript:alert(phpdesktop.GetVersion())">
phpdesktop.GetVersion()</a>
<p>Get the PHP Desktop version. This value is taken from the version
info embedded in the phpdesktop executable.</p>
<a href="javascript:phpdesktop.ToggleFullscreen()">
phpdesktop.ToggleFullscreen()</a>
<p>To go into fullscreen mode or exit fullscreen mode.</p>
<a href="javascript:alert(phpdesktop.IsFullscreen())">
phpdesktop.IsFullscreen()</a>
<p>Whether in fullscreen mode.</p>