I can't get my jquery accordion css menu to drop down.

I can't get my jquery accordion css menu to drop down.

Here is my code

My php 
  1. add_action('wp_enqueue_scripts', 'ho_nav_js');

  2. function ho_nav_js()
  3. {
  4. wp_enqueue_style('ho-nav-main-style', get_template_directory_uri() . '/js/style.css');
  5. wp_enqueue_script('ho-nav-main', get_template_directory_uri() . '/js/ho-nav-main.js');
  6. }

  7. class HO_nav_Walker extends Walker

  8. {
  9. var $db_fields = array(
  10. 'parent' => 'menu_item_parent',
  11. 'id' => 'db_id'
  12. );
  13. function start_lvl(&$output, $depth = 0, $args = array())
  14. {
  15. $indent = str_repeat("\t", $depth);
  16. $output.= "\n$indent<ul>\n";
  17. }

  18. function end_lvl(&$output, $depth = 0, $args = array())
  19. {
  20. $indent = str_repeat("\t", $depth);
  21. $output.= "$indent</ul>\n";
  22. }

  23. function start_el(&$output, $item, $depth = 0, $args = array() , $id = 0)
  24. {
  25. global $wp_query;
  26. $indent = ($depth) ? str_repeat("\t", $depth) : '';
  27. $class_names = $value = '';
  28. $classes = empty($item->classes) ? array() : (array)$item->classes; /* Add active class */
  29. if (in_array('current-menu-item', $classes)) {
  30. $classes[] = 'active';
  31. unset($classes['current-menu-item']);
  32. } /* Check for children */
  33. $children = get_posts(array(
  34. 'post_type' => 'nav_menu_item',
  35. 'nopaging' => true,
  36. 'numberposts' => 1,
  37. 'meta_key' => '_menu_item_menu_item_parent',
  38. 'meta_value' => $item->ID
  39. ));
  40. if (!empty($children)) {
  41. $classes[] = 'has-sub';
  42. }

  43. $class_names = join(' ', apply_filters('nav_menu_css_class', array_filter($classes) , $item, $args));
  44. $class_names = $class_names ? ' class="' . esc_attr($class_names) . '"' : '';
  45. $id = apply_filters('nav_menu_item_id', 'menu-item-' . $item->ID, $item, $args);
  46. $id = $id ? ' id="' . esc_attr($id) . '"' : '';
  47. $output.= $indent . '<li' . $id . $value . $class_names . '>';
  48. $attributes = !empty($item->attr_title) ? ' title="' . esc_attr($item->attr_title) . '"' : '';
  49. $attributes.= !empty($item->target) ? ' target="' . esc_attr($item->target) . '"' : '';
  50. $attributes.= !empty($item->xfn) ? ' rel="' . esc_attr($item->xfn) . '"' : '';
  51. $attributes.= !empty($item->url) ? ' href="' . esc_attr($item->url) . '"' : '';
  52. $item_output = $args->before;
  53. $item_output.= '<a' . $attributes . '><span>';
  54. $item_output.= $args->link_before . apply_filters('the_title', $item->title, $item->ID) . $args->link_after;
  55. $item_output.= '</span></a>';
  56. $item_output.= $args->after;
  57. $output.= apply_filters('walker_nav_menu_start_el', $item_output, $item, $depth, $args);
  58. }

  59. function end_el(&$output, $item, $depth = 0, $args = array())
  60. {
  61. $output.= "</li>\n";
  62. }
  63. }

Thank you for your time.