UI Elements: Search Box with Filter and Large Drop Down Menu

Today we will show you some more UI elements: a search box with a filter and a large drop down menu. We will use jQuery in both elements for the […]

Stay in the loop: Get your dose of frontend twice a week

Fresh news, inspo, code demos, and UI animations—zero fluff, all quality. Make your Mondays and Thursdays creative!

Feedback 40

Comments are closed.
  1. Hoooaaahhh… once again this is something I can immediately see a use for on my projects.

    One thing that I think would be an improvement is if the up-or-down arrow was clickable. Confused me when I tried to open or close the filter menu using the arrow, finding it only opened when you click into the search box.

  2. I did the same thing on my site, but with a few less options. I got my idea from the themeforest.net redesigned search.

  3. The drop down menu is fantastic – I will have to spread the word to all those I know you love beautiful coded things 🙂

  4. Yeep, I like your job …Mary Lou

    always great and i waiting article and more ….

    input have no ending tag />

    thanks

  5. Again awesome tutorial..I will use this on my next wordpress theme..
    Thank you very much for providing us a good tutorials..

  6. In demo i’ve found two issues:
    1. Text label of checkbox isn’t marked with tag
    2. When checking checkbox, focus doesn’t return to input text field – it will be wery useful.

  7. Thank you so much for the post!I was looking for a good searchbox with filter for some time and this is just wha I need!!Great work!! 🙂

  8. Excellent work.

    A full blown, db driven php and ajaxified search using the filters would be awesome.

    Love your Stuff Mary

  9. hi
    very nice. can you help me to change this menu for right to left language?
    please help me
    thanks

  10. i change it and work correctly for right to left language
    Many thanks

    #ldd_menu {
    direction: rtl;
    text-align: right;
    }

    ul.ldd_menu > li {
    float: right;
    position: relative;
    }

  11. Collapse div in ie 6 and change the order admin template & happy kingdom. Can’t show sidebar specially right side in ie 9.

  12. if you put a select element in the menu it will close the menu when you try and select an option.

  13. Hi,
    The drop down menu is excelent! like the search box too! good job!
    NOTE: for the search box, you forgot the ids on options of the select and the label click dont work 🙂

    Thx to share your creations
    Best regards

  14. @alex.obukhov
    To bring focus back to the input field after “mouseleave” insert the following just below the bind mouseleave function:

    $(“input:visible:enabled:first”).focus();

    Like this:

    $ui.bind(‘mouseleave’,function(){
    $(“input:visible:enabled:first”).focus();
    $ui.find(‘.sb_up’)
    .addClass(‘sb_down’)
    .removeClass(‘sb_up’)
    .andSelf()
    .find(‘.sb_dropdown’)
    .hide();

    });

  15. Hi, great search box. How can I change the code to use radio buttons instead of checkboxes?

    I changed the code to Automotive

    Now it shows the radio button but you can select more than one radio button at a time which is not what I need.
    I want to allow users to select one One category to filter the search by.

    Any ideas?
    Thanks

  16. Hy, what is the license of your plugin? Can I use in my work, comercially??

  17. How can I add a menu option that doesn’t expand? For example a home or link to one page that doesn’t have any menu options.

    Thank you

  18. How do I set the menu’s position to prevent menu overlapping when the browser window is sized small? Currently when you minimize the size of the browser window, the menu items get shifted around underneath each other. I know it has to do with the .css and position:absolute or position: relative, just can’t get the right code to work. Help! Please 🙂

  19. hello … i added more categories … and when dropdown appears last item get on the left side above menu … i tried with overflow:hidde; but this will hide the dropdown … any ideas?

  20. Hi, I found a little bug I think in IE 8: After i click inside the text field the dropdown appears then i take the mouse out and the dropdown dissapears. Now if i click on a different tab in IE 8 then click back on the tab with the search bar, the dropdown is shown and not hidden. It should be hidden until I click again in the text field.

  21. I have everything installed nicely but I have a problem when I go to any of the menu and dropdown, the dropdown goes behind the posts, chat and everything near (below it) as the drop down hide behind any content I have below it

    can you guys help me out on this to make the drop down on that menu to stay on top of everything?

  22. When I changed the background colour of the dropdown menu from orange to light grey, there’s a light orange shadow on top on the menu. Is there anyway to get ride of that?