Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <b:if cond='data:post.numComments > 1'>
- <script type='text/javascript'>
- //<![CDATA[
- $(document).ready(function() {
- $('#clpexplinks + H4').css('width','50%');
- $('a.smoothvscroll').bind('click',function(event) {
- $('html, body').stop().animate({ scrollTop: $($(this).attr('href')).offset().top }, 'slow');
- event.preventDefault();window.setTimeout(function(){window.location.hash="comments";},600);});
- });
- //]]>
- </script>
- <div id='clpexplinks' style='text-align:right;float:right;'>
- <a class='smoothvscroll' href='#comments' onclick='$("#comments dt + dd").slideUp("slow");' title='Hide all comment's texts'>[Hide comments]</a> -
- <a class='smoothvscroll' href='#comments' onclick='$("#comments dt + dd").slideDown("slow");' title='Show all comment's texts'>[Show comments]</a><br/>
- <small>Click on a single comment to hide/show its text</small>
- </div>
- </b:if>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement