Skip to content
This repository

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

akkias opened this Issue May 11, 2011 · 5 comments

4 participants

Akshay Sonawane foufos Christoph Burgmer mattejames
Akshay Sonawane
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

Akshay Sonawane
akkias commented May 11, 2011

Hey many thanks
You rocks buddy!!!!!

Akshay Sonawane
akkias commented May 11, 2011

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

Christoph Burgmer

See #99 for a placeholder implementation

Akshay Sonawane 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
Something went wrong with that request. Please try again.