I was interested in have all the Blogs associated with a Label appear together as a list of links. I did find some people who had a method using javascript/css based show/hides that would allow you to "hide" the blog, and then click on a link that would then (via javascript) set the style.visible to "block". However, I was more interested in using the native functions of Blogger to accomplish much the same thing. What I settled on was to wrap most of the Blog elements in:
<b:if cond='data:blog.pageType == "item"'>
wrap code you want only to show if it's a single item you have selected
</b:if>
<b:if cond='data:blog.pageType != "item"'> wrap code you want to show when it's not a single item you have selected (i.e. a label listing) </b:if>
<b:if cond='data:blog.pageType != "item"'> wrap code you want to show when it's not a single item you have selected (i.e. a label listing) </b:if>
No comments:
Post a Comment