Filter with an dropdown function, how?

Filter with an dropdown function, how?

Hi!

I have try to change the code in the link below. It is an filter with buttons in Jquery. I want to use an dropdown function with options, not buttons. 

I try to change the HTML code, but it doesn't work. Who can help me to change the code? I'm totally new with Jquery. 

Thank you! 

Huib