forked from cotenoni/jquery-linedtextarea
-
Notifications
You must be signed in to change notification settings - Fork 0
/
jquery-linedtextarea.html
executable file
·46 lines (37 loc) · 1.39 KB
/
jquery-linedtextarea.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
36
37
38
39
40
41
42
43
44
45
46
<html>
<head>
<title>JQuery LinedTextArea Demo</title>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
<script src="jquery-linedtextarea.js"></script>
<link href="jquery-linedtextarea.css" type="text/css" rel="stylesheet" />
</head>
<body>
<h1>JQuery LinedTextArea Demo</h1>
<p>Add a scrollable lined area to a standard TextArea control.</p>
<textarea class="lined" rows="10" cols="60">JavaScript was originally developed by Brendan
Eich of Netscape under the name Mocha,
which was later renamed to LiveScript,
and finally to JavaScript.
The change of name from LiveScript to JavaScript roughly
coincided with Netscape adding support for
Java technology in its Netscape Navigator
web browser.
JavaScript was first introduced
and deployed in the Netscape browser version
2.0B3 in December 1995.
The naming has caused confusion, giving the
impression that the language is a spin-off of Java,
and it has been characterized by many as a
marketing ploy by Netscape to give JavaScript the
cachet of what was then the hot new web-programming language.
</textarea>
<script>
$(function() {
$(".lined").linedtextarea(
{selectedLine: 18}
);
});
</script>
<p>Visit <a href="http://alan.blog-city.com/jquerylinedtextarea.htm">http://alan.blog-city.com/jquerylinedtextarea.htm</a> for details and download</p>
</body>
</html>