Am i using too many accordions? User menu not working when placed in with all other code
<p>Ok, i have tried most things and have narrowed it down to this command not being forfilled.</p>

<p><code>$('ul').accordionmenu();</code></p>

<p>The usermenu on the left works fine standing alone in a document by its self but onces i place it into the rest of my code it stops working any ideas. i would js fiddle the menu but the menu works fine.</p>

<p>seems like that i am using 2 ul li menus the top menu is interferring with the left menus plugin: is there a way to target only one menu?</p>

<pre><code>(function(jQuery){
     jQuery.fn.extend({  
         accordionmenu: function() {       
            return this.each(function() {

                var $ul = $(this);

                if($ul.data('accordiated'))
                    return false;

                $.each($ul.find('ul, li&gt;div'), function(){
                    $(this).data('accordiated', true);
                    $(this).hide();
                });

                $.each($ul.find('a'), function(){
                    $(this).click(function(e){
                        activate(this);
                        return void(0);
                    });
                });

                var active = (location.hash)?$(this).find('a[href=' + location.hash + ']')[0]:'';

                if(active){
                    activate(active, 'toggle');
                    $(active).parents().show();
                }

                function activate(el,effect){
                    $(el).parent('li').toggleClass('active').siblings().removeClass('active').children('ul, div').slideUp('slow');
                    $(el).siblings('ul, div')[(effect || 'slideToggle')]((!effect)?'slow':null);
                }

            });
        } 
    }); 
})(jQuery);
</code></pre>
