Skip to content
This repository was archived by the owner on May 7, 2024. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ However, for my usage, this was way over kill. I wanted a simple line-number fac

Quickly and easily to install, very light weight, you simply tell it which TEXTAREA's you want to be line tracked and it will go and do its thing. You can pass if you want a line highlighted. While it doesn't highlight the line inside the TEXTAREA control it highlights the side bar at the relevant place.

<pre><script>
<pre>
&lt;script&gt;
$(function() {

// Target all classed with ".lined"
Expand All @@ -20,7 +21,7 @@ $(function() {
$("#mytextarea").linedtextarea();

});
</script>
&lt;/script&gt;
</pre>

Installation: Copy the files to your web server and insert the .js and .css file and you are good to go. Requires JQuery 1.3+