- Overview
- Documents
Textareafullscreen is a jquery textarea full screen plugin that you can set overlay mode, max width and max height
Source: creoart.github.io
Jul 16, 2014 in Text Editor 4630 views
Textareafullscreen is a jquery textarea full screen plugin that you can set overlay mode, max width and max height
Source: creoart.github.io
1. INCLUDE CSS AND JS FILES
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script> <script src="/jquery.textareafullscreen/jquery.textareafullscreen.js"></script> <link rel="stylesheet" href="/jquery.textareafullscreen/textareafullscreen.css">
2. HTML
<textarea id="demo"></textarea>
3. JAVASCRIPT
$(document).ready(function() { $('#demo').textareafullscreen(); });
4. OPTIONS
$(document).ready(function() { $('#demo').textareafullscreen({ overlay: true, // Overlay maxWidth: '80%', // Max width maxHeight: '80%' // Max height }); });
Tagged with:
textareafullscreen
textarea fullscreen
textarea
jquery plugin
overlay textarea
full screen
Related Articles