the code that you used will take UL's with more than 10 list
items(li's) and hide items greater than 10
it seems from your html you are wanting to do something different since
you are hiding complete lists(UL's) already
here's an example of the exact same code working fine BUT with minor
I've tried that script, but why the jquery doesn't work?? I'm newbie in
jquery. I write like these :
$(document).ready(function(){
$('.main ul').each(function(){
var $this = $(this), lis = $this.find('li:gt(9)').hide();
if(lis.length>0){
$this.append($('').te
there was some very interesting code on this list a few months ago that
should help you out
couldn't get the thread from google group search but can see whole
thread here
http://www.mail-archive.com/jquery-en@googlegroups.com/msg77035.html
look toward end of thread for mkmanning solution, s
3 matches
Mail list logo