Revision: 31046
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at August 28, 2010 00:57 by davebowker
Initial Code
$('.ukn-tags-related-inline ol.ukn-style-1 li:gt(4)').hide(); $('.ukn-tags-related-inline ol.ukn-style-1').append('<li><a class="ukn-toggler ukn-j-tipsy" title="Show more tags" href="#"><span>+</span></a></li>'); $('.ukn-tags-related-inline ol.ukn-style-1 li a.ukn-toggler').toggle(function(e) { e.preventDefault(); $(this).attr('title', 'Show less tags').html('<span>-</span>').parent().parent().addClass('ukn-active'); $('.ukn-tags-related-inline ol.ukn-style-1 li:gt(4)').show(); }, function() { $(this).attr('title', 'Show more tags').html('<span>+</span>').parent().parent().removeClass('ukn-active'); $('.ukn-tags-related-inline ol.ukn-style-1 li:gt(4):not(:last)').hide(); });
Initial URL
Initial Description
Use Collapsorz
Initial Title
Manual if gt than hide, then expand collapse
Initial Tags
jquery
Initial Language
jQuery