Clarify examples.
This commit is contained in:
parent
1aa9506251
commit
4f0da9ef84
|
@ -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:
|
||||||
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
|
||||||
|
|
Loading…
Reference in New Issue