-
Notifications
You must be signed in to change notification settings - Fork 1
/
dubstext.html
35 lines (32 loc) · 880 Bytes
/
dubstext.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<head>
<title>dubstext</title>
</head>
<body>
{{> noises}}
</body>
<template name="noises">
<div id="container">
{{#each allNoises}}
{{> noise}}
{{/each}}
{{#if newNoise}}
{{#with newNoise}}
{{> newNoise}}
{{/with}}
{{/if}}
</div>
</template>
<template name="newNoise">
<span class="bordered absolute" style="left:{{x}}px;top:{{y}}px;">
ONOMONOPAEIA: <input id="text" /><br>
BLINKINESS: <input id="speed" value="200" /><br>
BIGNESS: <input id="size" value="20" /><br>
COLORIFICATION: <input id="color" value="aaaaaa" /><br>
<center><input id="submit" type="submit" value="add dubsteb noise" /></center>
</span>
</template>
<template name="noise">
<span class="blinky blinky-{{speed}} absolute" style="left:{{x}}px;top:{{y}}px;font-size:{{size}}px;color:#{{color}}">
{{text}}
</span>
</template>