Technical Blog

Asynchronous FreshTags

Posted on

I have updated my version of FreshTags to include support for asynchronous loading of posts. Now if you add the following code to your template:

<script type=”text/javascript”>var freshtags_tag_format = “drop-add-async”;</script>

Instead of the drop-down box taking you over to the tags post page it will load the posts for the tag combination for you asynchronously in the sidebar.

A nice side-benefit of this is that you may now use all the other FreshTags tag-list types (except custom), including flat, flat-multi, list, list-multi, scroll, drop, and sub. Just put them in the above code where I have ‘drop-add-async’.

You will have to be using the version of my FreshTags implementation for this to work, instead of the old one hosted on AWriterz. The code for the new include (which you can replace the old one with to upgrade) is:

<script type=”text/javascript” src=”;id=818185

One Response

Leave a Response