devbridge/jQuery-Autocomplete — pull request #208 by tttomekkk (2014-07-27 21:10:21+00:00)
Title: Vertical orientation of suggestions. fixPosition and noSuggestionNotice developed.

I strongly needed some functionalities for my project, so I developed few new funcs, I hope you consider them useful. Here are the changes.

Suggestions can be placed above (orientation `top`) or below (orientation `bottom`) autocompleted input. Orientation can be also automatically adjusted `auto` so that suggestions are placed closer to the middle of the view port, that minimizes chance of overflowing it. The solution should be pretty reliable as it was inspired by [bootstap-datepicker](https://github.com/eternicode/bootstrap-datepicker/) code. For backward compatibility default value is `bottom`.

Second thing is that suggestions can be appended to any node and that does not break `fixPosition` functionality. However by default they behave just as did before, when `appendTo` is not set to `document.body` the `forceFixPosition` parameter must be `true`.

I also developed noSuggestion functionality. Now, as `noSuggestionNotice` can be set to text htmlString, Element or jQuery object. The two last make the difference when you want to have something like "add another item" Ajax button. Now you can pass node with proper event handlers.

And these might solve #161 and already closed #144. As I said - I hope you find the changes useful. Regards