Darren Ferguson - Weblog
06 July 2009
Quick tip: jQuery to replace lists with selects when your lists are getting long
My list of archived content by month in the right hand side navigation of this page was getting a little long. The following jQuery script replaces the un-ordered list with a select input which takes up much less page real estate.
The page still looks the same to any passing search engines though.
var archiveContent = '';
$("li[class='archive']").each(function() {
archiveContent += '\n';
$(this).remove();
});
archiveContent = '
07 July 2009 at 07:53:37
07 July 2009 at 09:02:51
Do you have any to achieve jquery datepicker in Teamsite.
13 August 2009 at 07:19:39
Please don't spam my blog with multiple identical comments.
Thanks.
13 August 2009 at 08:32:12