Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Width of token-input-dropdown-facebook on same page #98

akkias opened this Issue May 11, 2011 · 5 comments


None yet
4 participants

akkias commented May 11, 2011


I want to use this plugin multiple places (with different width) on same page. what do i have to do.

sorry for my bad english :)

foufos commented May 11, 2011


what I did in this situation is set the css of ul.token-input-list width: 100%
and add the code:
width: $(token_list).width() + parseInt($(token_list).css("padding-left"), 10) + parseInt($(token_list).css("padding-right"), 10),

in the function show_dropdown() .css

so the width is dynamic according to the parent

akkias commented May 11, 2011

Hey many thanks
You rocks buddy!!!!!

akkias commented May 11, 2011

Can we add placeholder text into it.....?

See #99 for a placeholder implementation

@akkias akkias closed this May 13, 2011

Thanks for the solution code foufos -- I'd be very interested in having this change be made to the master branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment