Offline Fic'ing
Ficlets refugee.
My previous stories:
http://ficlets.ficly.com/authors/whitehat
http://ficly.com/authors/whitehat
I'm getting back into writing after a long break.
Your comments are greatly appreciated!
<html>
<head>
<style>
.editor { zoom: 250%; width: 100%; }
.editor .counter, .editor .ficlet { border-width: 1px; border-color: black; }
.editor .info, .editor .ficlet { width: 100%; }
.editor .ficlet:focus { outline: none; }
.editor .counter { float: right; }
</style>
<script>
var maxlength = 1024;
document.onreadystatechange = function() {
if (document.readyState === 'complete') {
var ficlet = document.getElementsByClassName('ficlet').item(0);
var counter = document.getElementsByClassName('counter').item(0);
var update = function update() {
counter.value = maxlength - ficlet.value.length;
};
ficlet.addEventListener('keyup', update);
ficlet.addEventListener('paste', update);
update();
}
};
</script>
</head>
<body>
<div class="editor">
<textarea class="ficlet" rows="16" cols="64"></textarea>
<span class="info">
<input class="counter" type="text" readonly="true"></>
</span>
</div>
</body>
</html>
Prequels
No prequels yet. Why not write one?
Sequels
No sequels yet. Why not write one?
Comments (2 so far!)
Robert Quick
My programming skills are so weak that I actually identified with the (unintended) format that allowed this face to come up: };
I can't say I fully understood the idea behind this but I think it might be interesting to consider programming and formatting a kind of storytelling. I mean, formatting is so important for poetry that I feel like something would fit there quite nicely.
- #3769 Posted 6 years ago
-
0
Tags:
- Published 6 years ago.
- Story viewed 6 times and rated 0 times.
All stories on Ficlatté are licensed under a Creative Commons Attribution-Share Alike 3.0 License. What does this mean?
WhiteHat
I wrote one of these a while ago, but this is my new take from March.
Sadly, the formatting doesn't survive posting.