PDA

View Full Version : [JS CODE] TerminalJS Effect



Apolva
15-05-2010, 12:16 PM
Decided to make a javascript teminal text effect.

Feel free to use for any of your projects :)

Features


Takes an ordinary <textarea> and outputs the text similar to a computer terminal
Cursor blinks once output is complete.
Speed-adjustable
Allows multiple outputs to be run / stopped separately.

Usage


Add to body tag: <script src='terminaljs.js'></script>
Create a new <textarea> with a unique ID.
<script>terminaljs('textareaID',[speed]);</script>

Optional: second parameter sets the speed (delay).

Demo
http://apolva.co.cc/other/terminaljs/

Jahova
15-05-2010, 01:33 PM
Nice one ;P

Want to hide these adverts? Register an account for free!