Commit 4f0da9ef authored by Joel Martin's avatar Joel Martin

Clarify examples.

parent 1aa95062
...@@ -85,9 +85,8 @@ Integration ...@@ -85,9 +85,8 @@ Integration
The client is designed to be easily integrated with existing web The client is designed to be easily integrated with existing web
structure and style. structure and style.
At a minimum you must include the script and call the RFB.load() At a minimum you must include the `vnc.js` and `default_controls.js`
function which takes a parameter that is the ID of the DOM element to scripts and call their load() functions. For example:
fill. For example:
<body> <body>
<div id='vnc'>Loading</div> <div id='vnc'>Loading</div>
...@@ -100,7 +99,8 @@ fill. For example: ...@@ -100,7 +99,8 @@ fill. For example:
RFB.load(); }; RFB.load(); };
</script> </script>
The file `include/plain.css` has a list of stylable elements. See `vnc.html` and `vnc_auto.html` for examples. The file
`include/plain.css` has a list of stylable elements.
The `vnc.js` also includes other scripts within the `include` The `vnc.js` also includes other scripts within the `include`
sub-directory. The `VNC_uri_prefix` variable can be use override the sub-directory. The `VNC_uri_prefix` variable can be use override the
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment