Skip to content
This repository was archived by the owner on Mar 16, 2018. It is now read-only.

Fix broken headings in Markdown files #50

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
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
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
#jQuery Autocomplete Plugin 1.2.3#
# jQuery Autocomplete Plugin 1.2.3 #

##About this jQuery plugin##
## About this jQuery plugin ##
Jörn Zaefferer’s (now deprecated into jQuery UI) [jQuery Autocomplete Plugin](http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/), with a small modification to enable UP/DOWN arrow keys, allowing navigation of input element text. This is particularly useful in cases where autocomplete is used in a textarea element where navigation of text via UP/DOWN arrow keys may be necessary. The tiny fix is documented with comments in the relevant lines on the development file (jquery.autocomplete.js). The .min and .pack files have the fix without specific annotation within the code.

We use it in Claritty.com for when a user wants to write a twitter username or a previously used hashtag within a new tweet, so “@” and “#” are trigger the script. While not triggered, though, the plugin still hijacks the UP/DOWN arrow keys making navigation of the text a pain in the ass when the user has multiple lines. This modification prevents this behavior, hijacking the arrow keys only when the autocomplete script has been triggered.

The original plugin is now deprecated, but this mod works well with jQuery 1.3.2 thru 1.4.4.

##Documentation##
## Documentation ##
Introduction to the original plugin, and an explanation of original plugin options are included in the docs folder. (Documentation at the jQuery site is expected to shut down eventually.)

This modification shouldn’t break any of the options discussed at the these documentation files.

##Abridged Changelog##
####1.2.3 --AGA####
## Abridged Changelog ##
#### 1.2.3 --AGA ####
* Merged disc’s fork: Removed depricated $.browser (jquery 1.9+)

* Merged miketaylr’s fork: account for retooled key events handling in newer Opera
Expand All @@ -22,14 +22,14 @@ This modification shouldn’t break any of the options discussed at the these do

* New minified and packed versions

####1.2.2 --AGA####
#### 1.2.2 --AGA ####
* Merged agmcleaod’s fork: Added failure to the options hash: `failure`

* Merged borkor’s fork: New option not to jump to first or last position: `scrollJumpPosition`

* Deleted silly console.debug() line left over from testing.

####1.2.1 --AGA####
#### 1.2.1 --AGA ####
* Added option to activate select list with one click instead of two. `clickFire` is false by default. (Requested/recommendation by fgosfacdjtq.)

* Added option to forgo input focus on item select. `inputFocus` is set to true by default, but setting it to false in the options will cancel this behavior.
Expand All @@ -38,15 +38,15 @@ This modification shouldn’t break any of the options discussed at the these do

* Changed hijacking of PAGEUP/PAGEDOWN keys to prevent default behavior only when selections list is visible. Helps text navigation inside input element.

####1.2 --AGA####
#### 1.2 --AGA ####
* Use recursive merging when extending setOptions. (Request/recommendation by smarques.)

####1.1.1 --AGA####
#### 1.1.1 --AGA ####
* Changed hijacking of UP/DOWN arrow keys to prevent default behavior only when selections list is visible. Helps text navigation inside input element.

_See_ changelog.txt _for pre-1.1.1 entries by original author._

##Licensing##
## Licensing ##
As with the original Plugin, this modification is dual licensed under the MIT and GPL licenses:
http://www.opensource.org/licenses/mit-license.php
http://www.gnu.org/licenses/gpl.html
2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#ABOUT THIS DOCUMENTATION:#
# ABOUT THIS DOCUMENTATION: #
Please note that the documentation in these folders are lifted straight off of [the jQuery docs site](http://docs.jquery.com "Plugins/Autocomplete - jQuery JavaScript Library") after learning that they would eventually be shut down. I made sure that all the basic information is here, and navigation between the Plugin pages work. Links to other areas in the jQuery docs site (outside of the Autocomplete Plugin realm) do not work.

--AGA