Without server side scripting, the json approach is probably the best we can hope for. On my articles, I create new HTML files for each one, but then have a table of contents JS file that handles the menu navigation both on my front page for highlights, and for the main blog listings. However they're more articles vs small blogs, so it wouldn't make sense to keep them all encoded in arrays.
Without server side scripting, the json approach is probably the best we can hope for. On my articles, I create new HTML files for each one, but then have a table of contents JS file that handles the menu navigation both on my front page for highlights, and for the main blog listings. However they're more articles vs small blogs, so it wouldn't make sense to keep them all encoded in arrays.
Ah, still doesn't mean i couldn't improve the client-side javascript. ~1/2-1 second is pretty unsatisfactory, even if it's un-noticable.