Posterize.us: posterous block code difficulty - Posterize.us

Jump to content

Tips

When posting, be sure to include any extra info that will be helpful in diagnosing your issue. (Include link to your Posterous blog, along with any code snippets, etc.)
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

posterous block code difficulty

#1 User is offline   foxyid Icon

  • Newbie
  • Pip
  • Group: Members
  • Posts: 5
  • Joined: 05-January 10
  • LocationIsrael
  • Posterous URL:http://raisinSoul.com

Posted 05 February 2010 - 01:35 AM

hi,
i building a new theme and its getting closer to being finished.
check it out:
visibleoverflow.posterous.com

but i am having some problems.
i am trying to implement the Showonclick function as documented in the
custom themes reference.
i am want to build a simple tab navigation and one of the tabs will
reveal a hidden div .
i thought i coded it correctly but apparently i am doing something wrong.
please help!
thanks,
have a great day.


here is the code:
(the {display:none;} is in the css)



 <div id ="tabs" class="info">

                 <ul>
                     <li><a href="#" id="show-tags">Tags</a></li>
                      <li>About</li>
                      <li>Contact</li>
                 </ul>

                 {block:TagList}
                    {block:Showonclick action_id='show-tags'
hidden_div='tags'/}
                       <div class="tags">
                           <h5>Tags</h5>
                           <ul class="tag">
                               {block:TagListing collapsible='true'
count='10' action_id='seemore_link'}

                                   {block:TagListingMore}
                                       <li style="font-size:0;"><a
href="#" id="seemore_link" class="more-tags">View all {NumTags}
tags&nbsp;&raquo;</a></li>
                                   {/block:TagListingMore}

                                   {block:TagItem}
                                       <li><a
href="{TagLink}">{TagName}</a> ({TagCount})</li>
                                   {/block:TagItem}

                                   {block:TagItemSelected}
                                       <li
class="tag_item_selected"><strong>{TagName}</strong> ({TagCount})</li>
                                   {/block:TagItemSelected}

                               {/block:TagListing}
                           </ul>
                       </div>
                   {/block:TagList}

               </div>



0

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users