• Thống kê diễn đàn


[code] Chọn nội dung thẻ code Ver 2

View previous topic View next topic Go down

[code] Chọn nội dung thẻ code Ver 2 Empty [code] Chọn nội dung thẻ code Ver 2

Post by Bui Minh Phong™ 6/10/2011, 6:23 pm

Demo: Như khung code của diễn đàn.
Chức năng:

1. Khung code cố định giữa bài viết, rộng 500px.
2. Click chọn toàn bộ code.
3.Ẩn/hiện khung code (mặc định là ẩn).
4.Style chuyên nghiệp.
Hướng dẫn:
Display - Templates - General - Overall_header
Tìm đoạn này:
Code:
<script src="{JQUERY_PATH}" type="text/javascript"></script>
... và chèn vào bên dưới bằng code sau:
Code:
<script src="http://fmvi-group.googlecode.com/files/Fmvi-Group-select-code-phpBB2.js" type="text/javascript"></script>
Bui Minh Phong™
Bui Minh Phong™
Quản Trị Cấp Cao
Quản Trị Cấp Cao

Posts : 3260
Points : 371262
Thanked : 1927
Birthday : 1994-12-18
Status Hãy Lặng Yên Để Cảm Nhận Tình Yêu Xung Quanh Bạn :x
Giới tính : Male Rất dễ thương

Back to top Go down

[code] Chọn nội dung thẻ code Ver 2 Empty Re: [code] Chọn nội dung thẻ code Ver 2

Post by zualuoi 17/10/2011, 10:10 am

Thank :om mot cai:


Last edited by zualuoi on 18/10/2011, 3:58 pm; edited 1 time in total
zualuoi
zualuoi
New Mem
New Mem

Posts : 31
Points : 230384
Thanked : 43
Birthday : 1984-12-18
Status hoi lam gi

Back to top Go down

[code] Chọn nội dung thẻ code Ver 2 Empty Re: [code] Chọn nội dung thẻ code Ver 2

Post by Bui Minh Phong™ 17/10/2011, 1:35 pm

zualuoi wrote:sửa lại bài viết này đi boy ơi, hay đấy chẳng có nội dung gì cả
sao lại không có nội dung nhỉ? Làm code này sẽ tạo ra chữ : Chọn toàn bộ code, như diễn đàn của em í. hix. không hiểu j sao?
Bui Minh Phong™
Bui Minh Phong™
Quản Trị Cấp Cao
Quản Trị Cấp Cao

Posts : 3260
Points : 371262
Thanked : 1927
Birthday : 1994-12-18
Status Hãy Lặng Yên Để Cảm Nhận Tình Yêu Xung Quanh Bạn :x
Giới tính : Male Rất dễ thương

Back to top Go down

[code] Chọn nội dung thẻ code Ver 2 Empty Re: [code] Chọn nội dung thẻ code Ver 2

Post by quypassion 3/12/2011, 8:02 pm

tks cho em nè admin
quypassion
quypassion
New Mem
New Mem

Posts : 16
Points : 227709
Thanked : 8
Birthday : 1990-01-01
Status nothing
Giới tính : Male

Back to top Go down

[code] Chọn nội dung thẻ code Ver 2 Empty Re: [code] Chọn nội dung thẻ code Ver 2

Post by quypassion 3/12/2011, 8:06 pm

vậy viết status thế nào vậy em, chèn cái tài sản vào thế nào em, em giúp anh nhé, tks em
quypassion
quypassion
New Mem
New Mem

Posts : 16
Points : 227709
Thanked : 8
Birthday : 1990-01-01
Status nothing
Giới tính : Male

Back to top Go down

[code] Chọn nội dung thẻ code Ver 2 Empty Re: [code] Chọn nội dung thẻ code Ver 2

Post by Bui Minh Phong™ 3/12/2011, 8:24 pm

quypassion wrote:vậy viết status thế nào vậy em, chèn cái tài sản vào thế nào em, em giúp anh nhé, tks em
nhầm topic anh ak, không trả lời. :)): :)):
Bui Minh Phong™
Bui Minh Phong™
Quản Trị Cấp Cao
Quản Trị Cấp Cao

Posts : 3260
Points : 371262
Thanked : 1927
Birthday : 1994-12-18
Status Hãy Lặng Yên Để Cảm Nhận Tình Yêu Xung Quanh Bạn :x
Giới tính : Male Rất dễ thương

Back to top Go down

[code] Chọn nội dung thẻ code Ver 2 Empty Re: [code] Chọn nội dung thẻ code Ver 2

Post by bOn Tí Ti 8/4/2012, 9:58 am

tks Admin nhiều nhé :x
đc rồi :D
bOn Tí Ti
bOn Tí Ti
New Mem
New Mem

Posts : 21
Points : 224361
Thanked : 0
Birthday : 1992-05-06
Status http://clubteenstar.uk.to/forum
Giới tính : Male

Back to top Go down

[code] Chọn nội dung thẻ code Ver 2 Empty Re: [code] Chọn nội dung thẻ code Ver 2

Post by tri123456789 8/4/2012, 12:06 pm

demo
tri123456789
tri123456789
Quản Trị Viên
Quản Trị Viên

Posts : 174
Points : 251001
Thanked : 32
Birthday : 1997-01-19
Status mãi sống
Giới tính : Male Khổ vì tình

Back to top Go down

[code] Chọn nội dung thẻ code Ver 2 Empty Re: [code] Chọn nội dung thẻ code Ver 2

Post by Bui Minh Phong™ 8/4/2012, 1:35 pm

tri123456 wrote:demo
demo nào hả?
Demo là cái code chọn nội dung thẻ code như forum đang dùng í.
Code:
 demo đấy. hehe.
Bui Minh Phong™
Bui Minh Phong™
Quản Trị Cấp Cao
Quản Trị Cấp Cao

Posts : 3260
Points : 371262
Thanked : 1927
Birthday : 1994-12-18
Status Hãy Lặng Yên Để Cảm Nhận Tình Yêu Xung Quanh Bạn :x
Giới tính : Male Rất dễ thương

Back to top Go down

[code] Chọn nội dung thẻ code Ver 2 Empty Re: [code] Chọn nội dung thẻ code Ver 2

Post by N.T 13/4/2012, 7:52 pm

43
N.T
N.T
New Mem
New Mem

Posts : 1
Points : 222420
Thanked : 0
Birthday : 1993-03-03
Status JMER
Giới tính : Male

Back to top Go down

[code] Chọn nội dung thẻ code Ver 2 Empty Re: [code] Chọn nội dung thẻ code Ver 2

Post by Bui Minh Phong™ 1/5/2012, 10:28 am

Nếu forum bạn đang dùng là phpbb3, punbb và invision thì thay bằng code:

Code:
    <script type="text/javascript" src="http://scriptfm.googlecode.com/files/select.js"></script>
Bui Minh Phong™
Bui Minh Phong™
Quản Trị Cấp Cao
Quản Trị Cấp Cao

Posts : 3260
Points : 371262
Thanked : 1927
Birthday : 1994-12-18
Status Hãy Lặng Yên Để Cảm Nhận Tình Yêu Xung Quanh Bạn :x
Giới tính : Male Rất dễ thương

Back to top Go down

[code] Chọn nội dung thẻ code Ver 2 Empty Re: [code] Chọn nội dung thẻ code Ver 2

Post by anhtam7603 9/6/2012, 5:36 pm

Code:
[code]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html dir="{S_CONTENT_DIRECTION}" id="min-width" lang="{L_LANG_HTML}" xml:lang="{L_LANG_HTML}" xmlns="http://www.w3.org/1999/xhtml">
<head>
   <!-- BEGIN meta_emulate_ie7 -->
   <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
   <!-- END meta_emulate_ie7 -->
   <title>{SITENAME_TITLE}{PAGE_TITLE}</title>
   <meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" />
   <meta http-equiv="content-script-type" content="text/javascript" />
   <meta http-equiv="content-style-type" content="text/css" />
   {META_FAVICO}
   {META}
   <meta name="title" content="{SITENAME_TITLE}{PAGE_TITLE}" />
   {T_HEAD_STYLESHEET}
   {CSS}
   <link rel="search" type="application/opensearchdescription+xml" href="/improvedsearch.xml" title="{SITENAME}" />
<style>.foot2:after {
   font-weight: bold;
   content: "Style by HQTH - Rip by Vi?t K";}</style>
   <link rel="search" type="application/opensearchdescription+xml" href="{URL_BOARD_DIRECTORY}/search/improvedsearch.xml" title="{SEARCH_FORUMS}" />
   <script src="{JS_DIR}{L_LANG}.js" type="text/javascript"></script>
   <!-- BEGIN switch_ticker -->
   <script src="{JS_DIR}jquery/ticker/ticker.js" type="text/javascript"></script>
   <link type="text/css" rel="stylesheet" href="{JS_DIR}jquery/ticker/ticker.css" />
   <!-- END switch_ticker -->
   <script type="text/javascript">
   //<![CDATA[
   $(document).ready(function(){
      <!-- BEGIN switch_enable_pm_popup -->
         pm = window.open('{U_PRIVATEMSGS_POPUP}', '_faprivmsg', 'HEIGHT=225,resizable=yes,WIDTH=900');
         pm.focus();
      <!-- END switch_enable_pm_popup -->
      <!-- BEGIN switch_report_popup -->
         report = window.open('{switch_report_popup.U_REPORT_POPUP}', '_phpbbreport', 'HEIGHT={switch_report_popup.S_HEIGHT},resizable=yes,scrollbars=no,WIDTH={switch_report_popup.S_WIDTH}');
         report.focus();
      <!-- END switch_report_popup -->
      <!-- BEGIN switch_ticker -->
         ticker_start({switch_ticker.HEIGHT}, {switch_ticker.SPACING}, {switch_ticker.SPEED}, '{switch_ticker.DIRECTION}', {switch_ticker.STOP_TIME});
      <!-- END switch_ticker -->
   });

   <!-- BEGIN switch_login_popup -->
      var logInPopUpLeft, logInPopUpTop, logInPopUpWidth = {LOGIN_POPUP_WIDTH}, logInPopUpHeight = {LOGIN_POPUP_HEIGHT}, logInBackgroundResize = false, logInBackgroundClass = false;
   <!-- END switch_login_popup -->
   //]]>
   </script>

   {GREETING_POPUP}
</head>
<body text="{T_BODY_TEXT}" link="{T_BODY_LINK}" vlink="{T_BODY_VLINK}">
   <!-- BEGIN switch_login_popup -->
   <div id="login_popup">
      <table class="forumline" width="{LOGIN_POPUP_WIDTH}" height="{LOGIN_POPUP_HEIGHT}" border="0" cellspacing="1" cellpadding="0">
         <tr height="25">
            <td class="catLeft">
               <span class="genmed module-title">{SITENAME}</span>
            </td>
         </tr>
         <tr height="{LOGIN_POPUP_MSG_HEIGHT}">
            <td class="row1" align="left" valign="top">
               <div id="login_popup_buttons">
                  <form action="{S_LOGIN_ACTION}" method="get">
                     <input type="submit" class="mainoption" value="{L_LOGIN}" />
                     <input type="button" class="mainoption" value="{L_REGISTER}" onclick="parent.location='{U_REGISTER}';" />
                     <input id="login_popup_close" type="button" class="button" value="{L_DONT_DISPLAY_AGAIN}" />
                  </form>
               </div>
               <span class="genmed">{LOGIN_POPUP_MSG}</span>
            </td>
         </tr>
      </table>
   </div>
   <!-- END switch_login_popup -->
   <a name="top"></a>
   {JAVASCRIPT}



<div align="center">
<div class="banner">
<div>
<div class="banner_01" style="float:left;"></div>
<div class="banner_02" style="float:right;"></div>
</div>
<div>
<div class="banner_03" style="float:left;"></div>
<div class="banner_04" style="float:right;">


<div class="login_bg">
          <div style="padding-top:25px;">

<div class="tborder3" style="padding-top:15px;margin-left:20px;margin-right:20px;">
      <!-- login form -->
<!-- BEGIN switch_user_logged_out --><form action="{S_LOGIN_ACTION}" method="post" name="form_login"><table cellpadding="0" cellspacing="3" border="0"><tr><td><input id="username" class="post" type="text" size="10" name="username" /></td><td nowrap="nowrap"><label><img src="http://img204.imageshack.us/img204/3672/rem.png" /> <input class="radio" type="checkbox" name="autologin" {AUTOLOGIN_CHECKED} /></label></td></tr><tr><td><input id="password" class="post" type="password" size="10" name="password" /></td><td nowrap="nowrap">{S_HIDDEN_FIELDS}<input class="mainoption" type="submit" name="login" value="Go!"></td></tr></table></form><!-- END switch_user_logged_out -->
<!-- BEGIN switch_user_logged_in -->
<span class="smallfont"><div class="uname">{LOGGED_AS} !</div><br />
{LAST_VISIT_DATE}<br />{CURRENT_TIME}<br /></span><!-- END switch_user_logged_in -->
      <!-- / login form -->

</div>
</div></div>



</div>
</div>

</div></div>


<div align="center">
<div class="wrapper">

<!-- content table -->

<!-- open content container -->

<div align="center">
   <div class="page" style="width:100%; text-align:left">
      <div style="padding:0px 15px 0px 15px" align="left">


<div style="padding-top:10px;"></div>

<div align="center">
<div class="thead_center">
<table cellspacing="0" cellpadding="6" border="0" align="center" width="150%">
<tbody>
<tr align="center">
<td class="thead_left" width="3%"></td>
            
<td class="thead_text">{GENERATED_NAV_BAR}</td>
      
<td class="thead_right" width="3%"></td>      

</tr>
</tbody>
</table>
</div>
</div>

<!-- breadcrumb, login, pm info -->


<table class="tborder2" cellpadding="6" cellspacing="0" border="0" width="100%" align="center">
<tr>
   <td class="alt1" width="100%">
<div class="navbar" style="font-size: 10pt;"><strong><div class="nav"><a class="nav" href="{U_INDEX}"><img src="http://s873.photobucket.com/albums/ab298/c3zskin/itlight/navbits_start.gif" class="inlineimg" alt="" border="0" /> {L_INDEX} - c3zone</a>{NAV_CAT_DESC}</div><img src="http://s873.photobucket.com/albums/ab298/c3zskin/itlight/navbits_finallink.gif" /> {PAGE_TITLE} </strong></div>
   </td>

</tr>
</table>
<!-- / breadcrumb, login, pm info -->

<div align="center">
<div class="bottom_center"><div class="bottom_left"><div class="bottom_right">
</div></div></div></div>

<div style="padding-bottom:20px;"></div>


            <!-- BEGIN switch_ticker -->
            <div id="fa_ticker_block" style="margin-top:4px;margin-bottom:4px;">
               <table width="100%" border="0" cellspacing="0" cellpadding="0" class="forumline">
                  <tr>
                     <td {CLASS_TABLE_TYPE} align="left" class="row1">
                        <div id="fa_ticker_container">
                           <div id="fa_ticker" style="height:{switch_ticker.HEIGHT}px;">
                              <div class="fa_ticker_content">
                                 <!-- BEGIN ticker_row -->
                                 <div>{switch_ticker.ticker_row.ELEMENT}</div>
                                 <!-- END ticker_row -->
                              </div>
                           </div>
                        </div>
                     </td>
                  </tr>
               </table>
            </div>
            <!-- END switch_ticker -->

                <div id="page-body">
      <div id="{ID_CONTENT_CONTAINER}"{CLASS_CONTENT_CONTAINER}>
                          <table  class="thongke" cellpadding="0" cellspacing="0" border="0" width="100%" align="center" >
    <tbody>
                                <tr>
                                  <td valign="top" width="100%">
                                      <div class="test">
    <table class="thongke" cellpadding="4" cellspacing="0" style="border: 1px #c0c0c0 solid;" border="0" width="100%" align="center">
    <thead>
          <tr valign="top">
            <th height="30"><center>News & Announcements</center></th>
          </tr>
      </thead>
    <tr>
    <td width="130%">
    <table class="thongke" cellpadding="0" cellspacing="4" border="0" width="100%" align="center">
    <thead>
          <tr valign="top">
    <td width="23%"></td><td width="100%" colspan="2"></td>
    </tr>
    <tr>
    <td><table  class="thongke" cellpadding="0" cellspacing="0" border="0" width="100%" align="center" ><tr><td colspan="3"><div style="margin-bottom: 35px; border: 1px solid #9DB3C5; "><ul class="tabs"><li class="current"><span style="padding: 0px 7px;">Tam-forum.Tk</span></li></ul>

<embed src="http://dl.dropbox.com/u/10126397/focus.swf" wmode="opaque" flashvars="config=5|0xffffff|0x0099ff|50|0xffffff|0x0099ff|0x000000&
bcastr_flie=http://nn6.upanh.com/b4.s29.d2/e6a7b9f36a7e8616c7703af15cfc94d5_45564666.ok1.jpg
|http://nn9.upanh.com/b2.s27.d2/f01abbe7b86182932c4f825885e9e9c0_45565679.ok1.jpg
|http://i43.servimg.com/u/f43/16/03/68/32/p1030011.jpg
|http://i37.servimg.com/u/f37/15/97/41/27/tet10.jpg
|http://i69.servimg.com/u/f69/15/69/19/33/theold10.jpg
|http://i37.servimg.com/u/f37/15/97/41/27/12887710.jpg
|http://i64.servimg.com/u/f64/13/54/69/46/thumb_10.jpg
|http://i60.servimg.com/u/f60/14/00/66/74/arbfv110.jpg


&bcastr_link=http://tam-4rum.forumvi.com/forum
|http://tam-4rum.forumvi.com/forum
|http://tam-4rum.forumvi.com/forum
|http://tam-4rum.forumvi.com/forum
|http://tam-4rum.forumvi.com/forum
|http://tam-4rum.forumvi.com/forum
|http://tam-4rum.forumvi.com/forum
|http://tam-4rum.forumvi.com/forum
&bcastr_title= Welcom to Tam-forum
|Admin Tâm
|Member Forum
|T?t Tân Mão
|A4 Yêu d?u
|Xuân 2011
|Qu?c t? ph? n? 8.3
|Hu?ng ?ng gi? trái d?t



& menu="false" quality="high" width="100%" height="150" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></div></td></tr>
    <tr><td valign="top" style="border: 1px solid #9DB3C5;">
    <!-- BEGIN giefmod_index1 -->
    {giefmod_index1.MODVAR} <!-- END giefmod_index1 --></tr></thead></table>

    </td></tr></table>

    </div>
                                  </td>
        </tr><tr>
                                <td valign="top" width="150%">
    <!-- BEGIN html_validation -->
                              </td>
                            </tr>
                        </tbody>
                      </table>
                  </div>
                </div>
            </td>
          </tr>
      </table>
    </body>
    </html>
    <!-- END html_validation -->





    <script type="text/javascript">
    var tooltip=function(){
      var id = 'tt';
      var top = 7;
      var left = 3;
      var maxw = 300;
      var speed = 10;
      var timer = 20;
      var endalpha = 90;
      var alpha = 0;
      var tt,t,c,b,h;
      var ie = document.all ? true : false;
      return{
          show:function(v,w){
            if(tt == null){
                tt = document.createElement('div');
                tt.setAttribute('id',id);
                t = document.createElement('div');
                t.setAttribute('id',id + 'top');
                c = document.createElement('div');
                c.setAttribute('id',id + 'cont');
                b = document.createElement('div');
                b.setAttribute('id',id + 'bot');
                tt.appendChild(t);
                tt.appendChild(c);
                tt.appendChild(b);
                document.body.appendChild(tt);
                tt.style.opacity = 0;
                tt.style.filter = 'alpha(opacity=0)';
                document.onmousemove = this.pos;
            }
            tt.style.display = 'block';
            c.innerHTML = v;
            tt.style.width = w ? w + 'px' : 'auto';
            if(!w && ie){
                t.style.display = 'none';
                b.style.display = 'none';
                tt.style.width = tt.offsetWidth;
                t.style.display = 'block';
                b.style.display = 'block';
            }
            if(tt.offsetWidth > maxw){tt.style.width = maxw + 'px'}
            h = parseInt(tt.offsetHeight) + top;
            clearInterval(tt.timer);
            tt.timer = setInterval(function(){tooltip.fade(1)},timer);
          },
          pos:function(e){
            var u = ie ? event.clientY + document.documentElement.scrollTop : e.pageY;
            var l = ie ? event.clientX + document.documentElement.scrollLeft : e.pageX;
            tt.style.top = (u - h) + 'px';
            tt.style.left = (l + left) + 'px';
          },
          fade:function(d){
            var a = alpha;
            if((a != endalpha && d == 1) || (a != 0 && d == -1)){
                var i = speed;
                if(endalpha - a < speed && d == 1){
                  i = endalpha - a;
                }else if(alpha < speed && d == -1){
                  i = a;
                }
                alpha = a + (i * d);
                tt.style.opacity = alpha * .01;
                tt.style.filter = 'alpha(opacity=' + alpha + ')';
            }else{
                clearInterval(tt.timer);
                if(d == -1){tt.style.display = 'none'}
            }
          },
          hide:function(){
            clearInterval(tt.timer);
            tt.timer = setInterval(function(){tooltip.fade(-1)},timer);
          }
      };
    }();

    </script>




<iframe src="http://tam-4rum.forumvi.com/h24-page" height="300" width="700" frameborder="0" scrolling=no></if[/code]rame>

tren la code header của tui! sao tìm oài ko thấy
anhtam7603
anhtam7603
Thành Viên Đồng
Thành Viên Đồng

Posts : 213
Points : 274665
Thanked : 3
Birthday : 1993-04-03
Status Song vi tinh ,chet vi yeu
Giới tính : Male Khổ vì tình

Back to top Go down

[code] Chọn nội dung thẻ code Ver 2 Empty Re: [code] Chọn nội dung thẻ code Ver 2

Post by Bui Minh Phong™ 9/6/2012, 8:40 pm

đó là code mặc định của forum, không thấy thì chịu thật, không thấy thì thêm vào.
:=)):
Bui Minh Phong™
Bui Minh Phong™
Quản Trị Cấp Cao
Quản Trị Cấp Cao

Posts : 3260
Points : 371262
Thanked : 1927
Birthday : 1994-12-18
Status Hãy Lặng Yên Để Cảm Nhận Tình Yêu Xung Quanh Bạn :x
Giới tính : Male Rất dễ thương

Back to top Go down

[code] Chọn nội dung thẻ code Ver 2 Empty Re: [code] Chọn nội dung thẻ code Ver 2

Post by anhtam7603 10/6/2012, 2:26 pm

them o vi tri nao trong header?
anhtam7603
anhtam7603
Thành Viên Đồng
Thành Viên Đồng

Posts : 213
Points : 274665
Thanked : 3
Birthday : 1993-04-03
Status Song vi tinh ,chet vi yeu
Giới tính : Male Khổ vì tình

Back to top Go down

[code] Chọn nội dung thẻ code Ver 2 Empty Re: [code] Chọn nội dung thẻ code Ver 2

Post by Bui Minh Phong™ 10/6/2012, 10:10 pm

anhtam7603 wrote:them o vi tri nao trong header?
tìm:
[code<script src="{JS_DIR}{L_LANG}.js" type="text/javascript"></script>

[/code]
thềm code vào trước code này.
forum mà không có code này thì chịu luôn nha. :=)):
Bui Minh Phong™
Bui Minh Phong™
Quản Trị Cấp Cao
Quản Trị Cấp Cao

Posts : 3260
Points : 371262
Thanked : 1927
Birthday : 1994-12-18
Status Hãy Lặng Yên Để Cảm Nhận Tình Yêu Xung Quanh Bạn :x
Giới tính : Male Rất dễ thương

Back to top Go down

[code] Chọn nội dung thẻ code Ver 2 Empty Re: [code] Chọn nội dung thẻ code Ver 2

Post by Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum