Does anyone know of a method or pre-made jquery script for doing Google+ style selections when submitting a new post? The one where you click the "+Add More People" text field and it presents you with a drop down where you can select a circle, it adds it and you can click again to select another circle and it adds that one next to the other.
Great way of selecting multiple items for a drop down.
I feel like I've seen something like this already. A jque开发者_如何学Pythonry script, but I can't find it now.
[I can't post an image because I'm a new user, but visit http://sobotics.com/gplus.jpg see it.]
What you are seeing is the text area that you type your post in. That's the box with the X in the top right corner. Below that is the text field that shows which circles can see that post. You just click on that text field and it immediately drops down that list of your available circles. Click one in that drop down and it adds it as either a blue or green box in that text field. Blue is for limited circles and green is for public circles. You see that each of those blue boxes has an X so that you can remove it. If you hover your mouse over one of those boxes it shows you who is in that circle with that little pop up that is displayed over the text area at the moment with the "notify about this post" checkbox.
I would like to recreate all of this functionality.
Autocomplete? Here's a plugin that's similar to the google plus style. http://code.drewwilson.com/entry/autosuggest-jquery-plugin
精彩评论