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 effect. We will also use plenty of CSS3 properties to create some slick looking details. Search Box with Filter This search box reveals a drop […]


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 effect. We will also use plenty of CSS3 properties to create some slick looking details.

Search Box with Filter


This search box reveals a drop down menu after the user clicks into the input field. The menu is meant to act as a filter with several checkbox options that allow the user to select specific categories for his search. When the user hovers out of the input or the filter box, the drop down will disappear.

View demoDownload source

Large Drop Down Menu


The large drop down menu is a good option for sites with a lot of navigation items. When the user hovers over one of the list items, the item enlarges to the width of the submenu and the submenu appears.

View demoDownload source

Previous:
Next:

Tagged with:

ML is a freelance web designer and developer with a passion for interaction design. She studied Cognitive Science and Computational Logic and has a weakness for the smell of freshly ground peppercorns.

View all contributions by

Website: http://www.codrops.com

Related Articles

Receive our bi-weekly Collective or official newsletter right in your inbox.

Which newsletter would you like to receive?

CSS Reference

Learn about all important CSS properties from the basics with our extensive and easy-to-read CSS Reference.

It doesn't matter if you are a beginner or intermediate, start learning CSS now.

Feedback 40

Comments are closed.
  1. 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. 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. 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. 4

    Yeep, I like your job …Mary Lou

    always great and i waiting article and more ….

    input have no ending tag />

    thanks

  5. 9

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

  6. 10

    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. 13

    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. 16

    You should really use labels with ‘for’ attribute for checkboxes. 🙂

  9. 17

    Excellent work.

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

    Love your Stuff Mary

  10. 18

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

  11. 19

    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;
    }

  12. 20

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

Comments are closed.