A jQuery Windows like cmd (old code)
JavaScript PHP
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
README.md
cmds.php
console.css
index.html
jquery.tConsole.js
jquery.tConsole.min.js

README.md

tConsole - tinyConsole

This is a jQuery Plugin. Works great with jQuery 1.6.1.
Minified with UglifyJS
A demo is available here.
Files needed: jquery.tConsole(.min).js
Files you should use: console.css, cmds.php

Howto use

First setup a div or something else (I prefer section, cause of HTML5 :)
<div id="console"></div>
Then call tConsole.
<script>$(document).ready(function(){ $('#console').tConsole(); });</script>
Finished, that was easy, right?

What about commands?

You have to setup them serverside. Look at cmds.php for example php code.

Customize

tConsole(settings, templates)
Settings are
{ "name": "<insert your whatever here>", "url": "cmds.php?cmd=", "title": location.href, "json": true }.
.tConsole({name: "moepmoep"}) would change the name after copyright to "moepmoep", try to play around with them!
Templates are
{ "engine": appname+" [Version "+(0|Math.random()*10)+"."+(0|Math.random()*10)+"."+(0|Math.random()*10000)+"]", // this is eq. to Math.floor "copyright": "Copyright (c) "+new Date().getFullYear()+" "+settings.name+". All rights served.", "header": '<header><div id="appname"></div><div id="copyright"></div></header>', "body": '<div class="input"><span class="path"></span><span class="command"></span><span id="cursor">_</span></div>' }.
Play around, if you know, what are u doing.

Aww... I think Windows is not my type... I like the Unix Console more!

Aww, crap. Use this one.

More coming soon!

Your Kurtextrem.