La función que yo utilicé fue la siguiente:
$('ul#cat > li > ul > li.parent').hover(
function(){
$(this).children('ul').animate({width:'toggle'},200);
},
function(){
$(this).children('ul').animate({width:'toggle'},200);
}
Ejemplos, apuntes, teoría, práctica, pruebas y error...de esto y un poco más se trata este Blog.
$('ul#cat > li > ul > li.parent').hover(
function(){
$(this).children('ul').animate({width:'toggle'},200);
},
function(){
$(this).children('ul').animate({width:'toggle'},200);
}
No hay comentarios. :
Publicar un comentario
Sentite libre de comentar, criticar y/o aportar tu granito en este (proyecto de..) mar de conocimiento ;)