Static-terminal:
Below we have created a WTerminal, by using it's constructor with a name ("static") and element-id("static-terminal") to generate a terminal as a 'static element on our page'.
Samples:
|
|
How to add the terminal to a site:
Add the CSS and JavaScript files to your site header:
<link rel="stylesheet" href="css/wterminal.css" />
<script src="js/wterminal.js"></script>
Where the terminal should be add a div element, with id "static-terminal":
<div id="static-terminal"></div>
Finally add a script element with:
new WTerminal("static", "static-terminal", null);