hover sub categories in category page
Hello,
Notice in the menu "CATEGORY" when you hover on it, all the categories appear.
I am trying to make the same effect, only it is for the category listing in the main page. (ex. the output you get from this <?php echo cp_create_categories_list( 'dir' ); ?>.) So I'm trying to accomplish the functionality that when you hover on one category, all the subcategories will appear. Can anyone please tell me how to do it? I've tried a lot of different ways but I haven't been successful. Please?