I'm currently building a site and have used Metta Fizzy's

Hi, I’m currently building a site and have used Metta Fizzy’s Isotope Jquery to filter some posts. I need to be able to show the filters in a ‘select menu’ (dropdown) rather than as a list. I have the following code:

<ul id="filters">
<li><a href="#" data-filter="*" class="selected">Everything</a></li>
<?php
$terms = get_terms("category"); // get all categories, but you can use any taxonomy
$count = count($terms); //How many are they?
if ( $count > 0 ){ //If there are more than 0 terms
foreach ( $terms as $term ) { //for each term:
echo "<li><a href='#' data-filter='.".$term->slug."'>" . $term->name . "</a></li>n";
//create a list item with the current term slug for sorting, and name for label
}
}
?>
</ul>

Is there a simple way to turn this menu into a select menu?

Thanks in advance, Joe.