Javascript Client Library

Top  Previous  Next

 

On the client side, a div element and a Javascript object will be in charge of rendering the remote windows on a local Web Browser.

This is the basic code to embed ThinVNC within an HTML using jquery:

 

<script type="text/javascript">

$(document).ready(function(){

mythinvnc = new ThinVNC();

mythinvnc.init({

divId:'desk',

scaled : true,

mouseControl:true

});

});

</script>

<body>

<div id="desk"></div>

</body>

</html>