Constantin Kaplinsky | 2844fd5 | 2008-04-14 08:02:25 +0000 | [diff] [blame] | 1 | <!-- |
Peter Åstrand | 4eacc02 | 2009-02-27 10:12:14 +0000 | [diff] [blame] | 2 | index.html - an example HTML page for TigerVNC Java viewer applet, to be |
Constantin Kaplinsky | 2844fd5 | 2008-04-14 08:02:25 +0000 | [diff] [blame] | 3 | used with a standalone Web server running on the same machine where the |
Peter Åstrand | 4eacc02 | 2009-02-27 10:12:14 +0000 | [diff] [blame] | 4 | TigerVNC server is running. Before using this example, please MAKE SURE |
Constantin Kaplinsky | 2844fd5 | 2008-04-14 08:02:25 +0000 | [diff] [blame] | 5 | to check the following: |
| 6 | |
| 7 | * the value of the PORT parameter should be set correctly (normally, the |
| 8 | port number is 5900 + display number); |
| 9 | |
| 10 | * the CODE and ARCHIVE attributes of the <APPLET> tag should point to |
| 11 | the correct directory (this example assumes that this page is in the |
| 12 | same directory with .jar and .class files); |
| 13 | |
| 14 | * the WIDTH and HEIGHT attributes of the <APPLET> tag correspond to the |
| 15 | actual desktop size on the server (height should be increased to leave |
| 16 | enough space for the button panel). |
| 17 | --> |
| 18 | |
| 19 | <HTML> |
| 20 | <TITLE> |
Peter Åstrand | 4eacc02 | 2009-02-27 10:12:14 +0000 | [diff] [blame] | 21 | TigerVNC desktop |
Constantin Kaplinsky | 2844fd5 | 2008-04-14 08:02:25 +0000 | [diff] [blame] | 22 | </TITLE> |
| 23 | <APPLET CODE="VncViewer.class" ARCHIVE="VncViewer.jar" |
| 24 | WIDTH="800" HEIGHT="632"> |
| 25 | <PARAM NAME="PORT" VALUE="5901"> |
| 26 | </APPLET> |
| 27 | <BR> |
Peter Åstrand | 4eacc02 | 2009-02-27 10:12:14 +0000 | [diff] [blame] | 28 | <A href="http://www.tigervnc.org/">TigerVNC site</A> |
Constantin Kaplinsky | 2844fd5 | 2008-04-14 08:02:25 +0000 | [diff] [blame] | 29 | </HTML> |