Search code examples
javascriptjquerydrop-down-menujquery-selectbox

What jquery selectbox plugin is used in trulia.com?


Does any one know what jquery plugin was used in this page of trulia.com in the refine search section. I think this is a good selectbox plugin and i've googled it and with no luck. I would really like to use this. Thanks in advance.


Solution

  • I have peeked into the code on trulia.com, and it does not look like they are using a plugin. It is simply an ordinary selectbox, which is styled with wrapper elements.

    There are some code in the polarbear-home.js javascript file, which sets/removes focus to the select.

    $(".select-wrapper>select").bind("focusin", function (c) {
        $(this).prev().addClass("focus")
    });
    $(".select-wrapper>select").blur(function (c) {
        $(this).prev().removeClass("focus")
    });
    

    But, my guess is, that this is no public available plugin, but some wrapper styling, and some some js/jquery code to do the focus/unfocus styling.