mirror of
https://github.com/novnc/noVNC.git
synced 2026-06-06 12:29:38 +00:00
Another attempt at formatting inline HTML.
@@ -21,22 +21,19 @@ the existing structure and styling.
|
||||
* The simplest way to create a noVNC page is with `vnc.js`, `ui.js`
|
||||
and `plain.css` and then calling `UI.load()`. For example:
|
||||
|
||||
|
||||
<head>
|
||||
<script src='include/vnc.js'></script>
|
||||
<script src="include/ui.js"></script>
|
||||
<link rel="stylesheet" href="include/plain.css">
|
||||
</head>
|
||||
<body>
|
||||
<div id='vnc'>Loading</div>
|
||||
|
||||
<script>
|
||||
window.onload = function () {
|
||||
UI.load('vnc');
|
||||
};
|
||||
</script>
|
||||
</body>
|
||||
|
||||
<head>
|
||||
<script src='include/vnc.js'></script>
|
||||
<script src="include/ui.js"></script>
|
||||
<link rel="stylesheet" href="include/plain.css">
|
||||
</head>
|
||||
<body>
|
||||
<div id='vnc'>Loading</div>
|
||||
<script>
|
||||
window.onload = function () {
|
||||
UI.load('vnc');
|
||||
};
|
||||
</script>
|
||||
</body>
|
||||
|
||||
* See `vnc.html` for a fleshed out working example of the above.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user