css - jQuery show() function display inline. How? -


i have code problem want show li display inline default display block , i'm not in jquery. please help..

$('ul:first',this).parent().find('> a').addclass('active'); $('ul:first',this).show(); }).on('mouseout',function(e){ $(this).parent().removeclass('expanded'); $('ul:first',this).parent().find('> a').removeclass('active'); $('ul:first', this).hide(); 

this works.

$('ul:first', this).parent().find('> a').addclass('active'); $('ul:first', this).css('display', 'inline'); }).on('mouseout', function(e) {     $(this).parent().removeclass('expanded');     $('ul:first', this).parent().find('> a').removeclass('active');     $('ul:first', this).hide(); }); 

Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -