im just curious about this proper code. im happy if some can correct this and explain a little about this.
$('.parentmenu:nth-child(1)').addClass('on', function(){
$(this+'ul').delay(500).slideDown();
});
I would like to use the same class element as for this referring and add UL element to trigger the navigation slide-down. I would like to know what is the correct format.
Or is there a way to shorten this code? Thanks in advance.