Skip to content

alessiocarrafa/typesite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TypeSite

This simple web page simulate a person typing on a linux terminal.

In the index.html there are two structural div tags. In #player_data you must put the data you want to "type" and in the #player_area it will be rendered as a simulation of a man typing on keyboard. All the tags in #player_data must be a <div> tags

Attribute Value Description
wait Integer Msec to wait from the end of previous task
delay Integer Msec of delay between a "type" and another
rollback Integer Number of char to delete
inline Boolean Text Continue ( or not ) typing in the same line of the previous task
clear Boolean Text Delete all the text

As example:

<div wait="0">alessio@TypeSite:~$ </div>
<div wait="2000" delay="25" inline="true">clear</div>
<div wait="1000" clear="true"></div>

The previous code will simulate a "clear" terminal command.

You can see a fully working example on my own site @ www.alessiocarrafa.it

About

Website as a typer simulator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published