Hỏi cách làm như thế này

Thảo luận trong 'Style & Template Questions' bắt đầu bởi panana, 9/7/14.

1votes
5/5, 1 vote

  1. llllllllll

    llllllllll New Member

    Bài viết:
    37
    Likes :
    1
    @Lightness còn code này ko share mình với
     
  2. stung12

    stung12 Member

    Bài viết:
    232
    Likes :
    42
    Hôm nay vào thì thấy đã xóa nên share cho các bạn nè
    Share thì share nhưng mà mình lười nên ko có hướng dẫnn hé :D

    Mã:
    
    <ul id="commenttabs">
       <li><a href="#" name="#chuy">Bình luận Softso1.com</a></li>
       <li><a href="#" name="#softso1"><img src="styles/default/xenforo/icons/icon-tick.png" alt="tick icon" title="Chú ý sử dụng diễn đàn" border="0" style="padding-left: 5px; vertical-align: text-top;">Chú Ý</a></li>
       <li><a href="#" name="#facebook">Bình Luận facebook</a></li>
    </ul>
    <div id="content2">
       <div id="chuy">
        <!--commentsofftso1-->
          <xen:if is="{$canQuickReply}">
            <xen:include template="quick_reply">
            <xen:set var="$formAction">{xen:link 'threads/add-reply', $thread}</xen:set>
            <xen:set var="$lastDate">{$lastPost.post_date}</xen:set>
            <xen:set var="$lastKnownDate">{$thread.last_post_date}</xen:set>
            <xen:set var="$showMoreOptions">1</xen:set>
        </xen:include>        
        <xen:else />
                            <label for="LoginControl"><a href="{xen:link login}" class="concealed element">({xen:phrase log_in_or_sign_up_to_reply})</a></label>
                       
    </xen:if>
      
          <!--comment sofftso1-->
       </div>
       <div id="softso1">
        
          <div style="border:1px dashed #D3D3D3;padding: 5px;line-height: 23px;">
             <br>
             <fieldset style="text-align:left;margin:-10px 0">
                <p style="margin-left: 13px;font-size: 12px;">
                   ✓ Khi muốn trả lời ai đó, bạn gõ @ cộng thêm nick diễn đàn của người đó phía sau @, giống như tag tên trên Facebook.<br>
                   ✓ Yêu cầu khi bình luận, bạn phải type chữ rõ ràng, không viết tắt, gõ tiếng Việt đầy đủ dấu đàng hoàng.<br>
                   ✓ Nên dùng font chữ mặc định của diễn đàn, không tô màu lòe loẹt hay dùng size chữ quá lớn khi bình luận.<br>
                   ✓ Không bình luận chém gió ngoài lề quá nhiều, không spam hay chửi bậy. Tuyệt đối chấp hành nội quy của diễn đàn!!!
                </p>
             </fieldset>
             <br>
          </div>
       </div>
       <div id="facebook">
          <xen:if is="{$post.position} == 0 AND !{$message.conversation_id}">
             <div class="comment_fbdiv" ></div>
             <div id="fb-root"></div>
             <div class="fb-comments" data-href="{xen:link full:threads, $thread}" data-num-posts="10" data-width="670px"></div>
             </li>
          </xen:if>
       </div>
    </div>
    <!-- tab comment-->
     
    <script src="http://softso1.com/js/tabquickreply/tab.js"></script>
    <style>
    #commenttabs {
        overflow: hidden;
        width: 100%;
        margin: 0;
        padding: 0;
        list-style: none;
        background: #fff url('@imagePath/xenforo/tabs.gif') repeat top;
    
      }
    
      #commenttabs li {
        float: left;
        margin: 0 -15px 0 0;
      }
    
      #commenttabs a {
        float: left;
        position: relative;
        padding: 0 30px;
        height: 0;
        line-height: 30px;
        text-transform: uppercase;
        text-decoration: none;
        color: #fff;     
        border-right: 30px solid transparent;
        border-bottom: 30px solid #3D3D3D;
        border-bottom-color: #777\9;
        opacity: .3;
        filter: alpha(opacity=30);     
      }
    
      #commenttabs a:hover,
      #commenttabs a:focus {
        border-bottom-color: #2ac7e1;
        opacity: 1;
        filter: alpha(opacity=100);
      }
    
      #commenttabs a:focus {
        outline: 0;
      }
    
      #commenttabs #current {
        z-index: 3;
        border-bottom-color: #3d3d3d;
        opacity: 1;
        filter: alpha(opacity=100);     
      }
    
      /* ----------- */
      #content2 {
          background: #fff;
          border-top: 2px solid #3d3d3d;
       
          /*height: 220px;*/
      }
    
      #content2 h2,
        #content2 h3,
        #content2 p {
          margin: 0 0 15px 0;
      } 
    
      </style>
    code này bạn chèn trong thread_view nhé, còn ko bik cách chèn thì pm skype mình chỉ nha :tungnguyen.it12
     
    llllllllll thích bài này.
comments powered by Disqus

Chia sẻ trang này

Đang tải...