Flat Text Editor
How do I make an flat text editor?
It's a flat text editor that writes text so you don't have to.. What is a flat text editor? How do you make a flat text editor? This script and codes were developed by Miro Karilahti on 07 July 2022, Thursday.
Flat Text Editor - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Flat Text Editor</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div id="window"> <div id="buttons"> <a href="#" id="minimize"></a> <a href="#" id="resize"></a> <a href="#" id="close"></a> </div> <div id="title">Notepad</div> <textarea id="textarea"></textarea>
</div> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script> <script src="js/index.js"></script>
</body>
</html>
Flat Text Editor - Script Codes CSS Codes
body{ background:#456;
}
#window{ width: 600px; background: #d9d9d9; margin: 0 auto; margin-top: 2%; border-radius: 3px; padding: 12px 0; font-family: Verdana, sans-serif; color: #333; cursor: default; box-shadow: 0 0 16px -2px rgba(50,50,50,.5);
}
#buttons{ float: right; margin-right: 12px;
}
#buttons a{ width: 16px; height: 16px; border-radius: 50%; display: inline-block; transition: background .3s; -webkit-transition: background .3s;
}
#minimize{background: #3c6;}
#resize{background: #cc3;}
#close{background: #c33;}
#minimize:hover{background: #1a4;}
#resize:hover{background: #aa1;}
#close:hover{background: #a11;}
#title{ margin-left: 12px; font-size: 90%;
}
textarea{ width: 96%; max-width: 96%; min-height: 220px; background: #efefef; margin-top: 10px; border: 0; padding: 2%; font-family: Verdana, sans-serif; font-size: 95%; line-height: 24px; color: #333; overflow: auto;
}
Flat Text Editor - Script Codes JS Codes
var textarea = $('textarea'), speed = 80, //Writing speed in milliseconds text='Lorem ipsum dolor sit amet, consectetur adipisicing elit. Consectetur laborum repellendus quisquam eum nam quo beatae maxime culpa illo earum ducimus eius unde quis repellat magnam. Possimus recusandae magni quam hic suscipit iste nostrum sed neque nemo aperiam cum harum mollitia? Vero velit at facilis ratione recusandae eveniet libero expedita nihil voluptates eum soluta perspiciatis sed sapiente reiciendis delectus nemo vitae eius aliquid explicabo omnis nesciunt architecto aperiam modi dolorum!';
function writeText(text){ textarea.text( textarea.text() + text[$('#textarea').text().length] ); if(textarea.text().length == text.length){ clearInterval(timeout); }
}
var timeout = setInterval('writeText(text)', speed);
Developer | Miro Karilahti |
Username | miroot |
Uploaded | July 07, 2022 |
Rating | 4 |
Size | 2,468 Kb |
Views | 52,624 |
Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!
Name | Size |
Social Icons | 2,941 Kb |
Pure CSS Gallery | 3,817 Kb |
Background change in pure CSS | 3,236 Kb |
Single element Nexus 5 | 2,159 Kb |
Long Shadow Camera Icon | 1,825 Kb |
Navigation | 2,298 Kb |
Color changing text | 2,068 Kb |
Calendar | 2,033 Kb |
Simple personal profile | 2,856 Kb |
Corner Ribbons | 1,911 Kb |
Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!
Name | Username | Size |
A Pen by Shidhin | Shidhincr | 5,015 Kb |
Awesome | Samarthpd | 2,901 Kb |
A Pen by John Malc | F789gh | 1,420 Kb |
Angular Route | Arun_v606 | 1,837 Kb |
Force Counter | Kenlauguico | 2,732 Kb |
Reading Grid | Tappily | 4,306 Kb |
SVG Modified with Query String | Jnowland | 1,663 Kb |
Search field | Jamesbarnett | 2,100 Kb |
Twitch.tv API | Ryzokuken | 2,618 Kb |
Boxes | H3l1um | 2,563 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!