Jump to content

Ayuda con Menu Desplegable Wordpress


Recommended Posts

hola tengo un problema con el codigo de un menu despegable , ya que al usarlo el menu se vuelve loco osea al pasar de un producto a otro al volver el menu a cerrarse se pone como loco , he intentado cambiarlo a lento , pero sigue el mismo problema

no se que hacer

 

saludos

 

 

 

 

 

jQuery.noConflict();

 

jQuery(document).ready(function() {

 

jQuery('ul.browse_by_category li:has(> ul)').addClass('hasChildren');

jQuery('#content ul.thumb_view li:nth-child(3n+3)').addClass('last_thumb');

jQuery('#content ul.thumb_view li:nth-child(3n+3)').after('<div class="clearfix"></div>');

//jQuery('#content ul.realated_products .clearfix').remove();

jQuery('ul.browse_by_category li.hasChildren').mouseenter(function () {

 

jQuery(this).addClass('heyHover').children('ul').slideDown('fast');

 

return false;

 

});

jQuery('ul.browse_by_category li.hasChildren:not(:has(> ul > li.current-cat))').mouseleave(function () {

 

jQuery(this).removeClass('heyHover').children('ul').slideUp('normal');

 

return false;

 

});

jQuery('ul.browse_by_category li ul:has(> li.current-cat)').css({'display':'block'});

jQuery('ul.browse_by_category li:has(> ul li.current-cat)').addClass('heyHover');

 

// Tabs code on registration page

jQuery('.active_tab').fadeIn();

jQuery('.tab_link').live('click', function(event){

 

event.preventDefault();

 

jQuery('.tab_link_selected').removeClass('tab_link_selected');

 

jQuery(this).addClass('tab_link_selected');

 

var container_id = jQuery(this).attr('title');

 

jQuery('.active_tab').animate({

 

opacity : 'toggle'

 

},function(){

 

jQuery(this).removeClass('active_tab');

 

jQuery(container_id).addClass('active_tab');

 

jQuery('.active_tab').animate({

 

opacity : 'toggle'

 

});

});

 

});

 

});

Link to comment
Share on other sites

Borra completamente el código de tu menú, y luego añade lineas paso a paso y anda probando hasta que encuentres el trozo de código que te cause conflicto.....otra alternativa sería probar con otro tipo de menú.

 

 

Saludos :krider:

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...