Bài viết: 1 Forumotion tip 6/14/2012, 13:03 Post : 849
Points : 2309
Thank : 67
Tổng hợp các hướng dẫn để làm đẹp forum
Hiệu ứng link trên toàn bộ diễn đàn
Code: a:hover { text-decoration: none!important; text-shadow: 0 0 .2em black, 0 0 .2em black, 0 0 .2em black; }
chức năng: dê chuột vào link thì link đổi màu rất đẹp
cách làm: chèn code vào css
Post : 849
Points : 2309
Thank : 67
hiệu ứng chuột:
bình thường:
Code: body{cursor: url('CURSOR URL HERE'), progress;}
vào link
Code: a:hover, a {cursor: url('CURSOR URL HERE'), progress;}
chèn code vào css
Post : 849
Points : 2309
Thank : 67
loại bỏ ghạch chân liên kết
Code: a:hover{text-decoration: none !important;} a {text-decoration: none !important;} a:link {text-decoration: none;} a:visited {text-decoration: none;}
chèn code vào css
Post : 849
Points : 2309
Thank : 67
Chọn nội dung code:
Administration Panel → Modules Tab → Javascript codes management → Create a new javascript
phpBB 2
Code: function selectCode(a) { // Get ID of code block var e = jQuery(a).closest('tr').next().find('.cont_code')[0]; // Not IE if (window.getSelection) { var s = window.getSelection(); // Safari if (s.setBaseAndExtent) { s.setBaseAndExtent(e, 0, e, e.innerText.length - 1); } // Firefox and Opera else { // workaround for bug # 42885 if (window.opera && e.innerHTML.substring(e.innerHTML.length - 4) == '<BR>') { e.innerHTML = e.innerHTML + ' '; } var r = document.createRange(); r.selectNodeContents(e); s.removeAllRanges(); s.addRange(r); } } // Some older browsers else if (document.getSelection) { var s = document.getSelection(); var r = document.createRange(); r.selectNodeContents(e); s.removeAllRanges(); s.addRange(r); } // IE else if (document.selection) { var r = document.body.createTextRange(); r.moveToElementText(e); r.select(); } } jQuery(function(){ jQuery('div.postbody td.code').parent().prev().find('b').html('Code: <a href="javascript:void()" onClick="selectCode(this)"><font face="verdana" color="red"></font> Select Content </a>'); });
phpBB 3, punBB and Invision
Code: function selectCode(a) { // Get ID of code block var e = a.parentNode.parentNode.getElementsByTagName('CODE')[0]; // Not IE if (window.getSelection) { var s = window.getSelection(); // Safari if (s.setBaseAndExtent) { s.setBaseAndExtent(e, 0, e, e.innerText.length - 1); } // Firefox and Opera else { // workaround for bug # 42885 if (window.opera && e.innerHTML.substring(e.innerHTML.length - 4) == '<BR>') { e.innerHTML = e.innerHTML + ' '; } var r = document.createRange(); r.selectNodeContents(e); s.removeAllRanges(); s.addRange(r); } } // Some older browsers else if (document.getSelection) { var s = document.getSelection(); var r = document.createRange(); r.selectNodeContents(e); s.removeAllRanges(); s.addRange(r); } // IE else if (document.selection) { var r = document.body.createTextRange(); r.moveToElementText(e); r.select(); } } if(text){}else{ var text = 'Selecionar todos';} jQuery(document).ready(function(){ jQuery("dl.codebox dt").not("dl.spoiler > dt").html('Code: <a href="#" onclick="selectCode(this); return false;" title="Select all the content" class="code-a"> Select Content </a>'); });
cài đặt Js: In the topics
Post : 849
Points : 2309
Thank : 67
code đóng mở box chuyên mục hình dấu + -
Code: $(function(){$(".main-head").prepend('<span class="collapse" style="padding: 0px; float:right;width: 32px;height: 22px;overflow: hidden;"><img src="http://www.skinbox.net/demo/public/style_images/source/cat_minimize.png" alt="fmClose" /><img class="hide" src="http://www.skinbox.net/demo/public/style_images/source/cat_maximize.png" alt="fmOpen" /></span>');$(".collapse").each(function(index){$(this).attr("id","fmvicollapse"+location.pathname+index);if(my_getcookie("fmvicollapse"+location.pathname+index)=="1"){$(this).children("img[alt='fmClose']").hide();$(this).children("img[alt='fmOpen']").show();$(this).parent().next().hide()}});$(".collapse img[alt='fmClose']").click(function(){my_setcookie($(this).parent().attr("id"),1,1,0);$(this).hide().next().show();$(this).parent().parent().next().hide()});$(".collapse img[alt='fmOpen']").click(function(){my_setcookie($(this).parent().attr("id"),0,1,0);$(this).hide().prev().show();$(this).parent().parent().next().show()})});
Cách làm: tạo file JS và paste code trên vào, đặt tên bất kỳ, cài đặt: In the home page
Post : 849
Points : 2309
Thank : 67
Nút lên trên xuống dưới.
Code: <script type='text/javascript'>var maxheight = $(document).height();$(function(){$.fn.scrollToMiddle=function(){$(this).hide().removeAttr("href");if($(window).scrollTop()!="maxheight/2"){$(this).fadeIn("slow")}var scrollDiv=$(this);$(window).scroll(function(){if($(window).scrollTop()=="maxheight/2"){$(scrollDiv).fadeOut("slow")}else{$(scrollDiv).fadeIn("slow")}});$(this).click(function(){$("html, body").animate({scrollTop:maxheight/2},"slow")})}});$(function(){$.fn.scrollToBottom=function(){$(this).hide().removeAttr("href");if($(window).scrollTop()!="maxheight"){$(this).fadeIn("slow")}var scrollDiv=$(this);$(window).scroll(function(){if($(window).scrollTop()=="maxheight"){$(scrollDiv).fadeOut("slow")}else{$(scrollDiv).fadeIn("slow")}});$(this).click(function(){$("html, body").animate({scrollTop:maxheight},"slow")})}});$(function(){$.fn.scrollToTop=function(){$(this).hide().removeAttr("href");if($(window).scrollTop()!="0"){$(this).fadeIn("slow")}var scrollDiv=$(this);$(window).scroll(function(){if($(window).scrollTop()=="0"){$(scrollDiv).fadeOut("slow")}else{$(scrollDiv).fadeIn("slow")}});$(this).click(function(){$("html, body").animate({scrollTop:0},"slow")})}});$(function() {$("#toMiddle").scrollToMiddle();$("#toTop").scrollToTop();$("#toBottom").scrollToBottom();});</script><div style="bottom: 25px;clip: inherit;position: fixed;right: 5px;"><a href="#" id="toTop"><img alt="Đầu trang" border="0" src="http://i34.servimg.com/u/f34/15/44/78/93/top10110.png"></a><br><a href="#" id="toMiddle"><img alt="Giữa trang" border="0" src="http://i34.servimg.com/u/f34/15/44/78/93/middle10.png"></a><br><a href="#" id="toBottom"><img alt="Cuối trang" border="0" src="http://i34.servimg.com/u/f34/15/44/78/93/bottom10.png"></a></div>
Post : 849
Points : 2309
Thank : 67
NÚT VOTE CÓ ĐẾM SỐ ĐÁNH GIÁ KO CHUYỂN TRANG
(EN.FMVI.VN)
đặc trị: Punbb và phpbb2
Display >> Templates >> Ganeral >> Viewtopic_body >tìm
Code: <!-- BEGIN switch_vote_active --> <div class="vote gensmall"> <!-- BEGIN switch_vote --> <div class="vote-button"> <a href="{postrow.displayed.switch_vote_active.switch_vote.U_VOTE_PLUS}">+</a> </div> <!-- END switch_vote --> <!-- BEGIN switch_bar --> <div class="vote-bar" title="{postrow.displayed.switch_vote_active.L_VOTE_TITLE}"> <!-- BEGIN switch_vote_plus --> <div class="vote-bar-plus" style="height:{postrow.displayed.switch_vote_active.switch_bar.switch_vote_plus.HEIGHT_PLUS}px;"> </div> <!-- END switch_vote_plus --> <!-- BEGIN switch_vote_minus --> <div class="vote-bar-minus" style="height:{postrow.displayed.switch_vote_active.switch_bar.switch_vote_minus.HEIGHT_MINUS}px;"> </div> <!-- END switch_vote_minus --> </div> <!-- END switch_bar --> <!-- BEGIN switch_no_bar --> <div title="{postrow.displayed.switch_vote_active.L_VOTE_TITLE}" class="vote-no-bar"> ---- </div> <!-- END switch_no_bar --> <!-- BEGIN switch_vote --> <div class="vote-button"> <a href="{postrow.displayed.switch_vote_active.switch_vote.U_VOTE_MINUS}">-</a> </div> <!-- END switch_vote --> </div> <!-- END switch_vote_active -->
thay bằng code
Code: <span class="loadFMvi"> <img alt="Loading" src="http://i40.servimg.com/u/f40/16/80/27/29/946d7310.gif" /> </span> <div class="voteTopic"> <!-- BEGIN switch_vote_active --> <div class="vote gensmall"> <!-- BEGIN switch_vote --> <div class="vote-button"> <a href="{postrow.displayed.switch_vote_active.switch_vote.U_VOTE_PLUS}">+</a> </div> <!-- END switch_vote --> <!-- BEGIN switch_bar --> <div class="vote-bar" title="{postrow.displayed.switch_vote_active.L_VOTE_TITLE}"> <!-- BEGIN switch_vote_plus --> <div class="vote-bar-plus" style="height:{postrow.displayed.switch_vote_active.switch_bar.switch_vote_plus.HEIGHT_PLUS}px;"> </div> <!-- END switch_vote_plus --> <!-- BEGIN switch_vote_minus --> <div class="vote-bar-minus" style="height:{postrow.displayed.switch_vote_active.switch_bar.switch_vote_minus.HEIGHT_MINUS}px;"> </div> <!-- END switch_vote_minus --> </div> <!-- END switch_bar --> <!-- BEGIN switch_no_bar --> <div title="{postrow.displayed.switch_vote_active.L_VOTE_TITLE}" class="vote-no-bar"> ---- </div> <!-- END switch_no_bar --> <!-- BEGIN switch_vote --> <div class="vote-button"> <a href="{postrow.displayed.switch_vote_active.switch_vote.U_VOTE_MINUS}">-</a> </div> <!-- END switch_vote --> </div> <!-- END switch_vote_active --> </div>
thêm vào cuối viewtopic body
Code: <style type="text/css"> .voteTopic { padding: 4px; background: #fff; color: #000; border:1px solid # a0b0c0; font - size: 12px; font - weight: bold; margin: 0 10px; height: 17px; display: inline;float:right; } .voteTopic a { cursor: default; vertical - align: middle; } .voteTopic span, .voteTopic a { display: inline; } .voteTopic .plusFMvi { background: url(http://i48.servimg.com/u/f48/16/58/89/73/like_b12.png) no-repeat scroll center center transparent; padding: 0 12px; } .voteTopic .xplusFMvi { background: url(http://i48.servimg.com/u/f48/16/58/89/73/like_n11.png) no-repeat scroll center center transparent; padding: 0 12px; } .xminusFMvi { background: url(http://i48.servimg.com/u/f48/16/58/89/73/dislik16.png) no-repeat scroll center center transparent; padding: 0 12px; } .voteTopic .minusFMvi{ background: url(http://i48.servimg.com/u/f48/16/58/89/73/dislik15.png) no-repeat scroll center center transparent; padding: 0 12px; } .loadFMvi, .vote { display:none; margin: 0; } </style> <script type="text/javascript"> var CopyrightNotice='nstant like/dislike. Copyright by Fmvi. All Rights Reserved. Use, modification, and/or distribution of this script is not allowed without direct permission from Zero (robot_body2018@yahoo.com). This entire copyright notice must remain in the original, copied, or modified script'; $('.voteTopic').each(function (index) { $(this).prev().attr('alt', 'vote'+index); $(this).before('<iframe name="vote' + index + '" height="0px" width="0px" frameborder="0"></iframe>'); $(this).attr('alt', 'vote'+index).prepend('<span alt="vote'+index+'" class="xplusFMvi"></span><span class="cong" alt="vote'+index+'">0</span> <span alt="vote'+index+'" class="xminusFMvi"></span><span class="tru" alt="vote'+index+'">0</span>'); var altthis = $(this).attr('alt'); var plink = $(this).find('a[href$="eval=plus"]').attr('href'); var mlink = $(this).find('a[href$="eval=minus"]').attr('href'); if ($(this).find('.vote a').length > 0) { $('.xplusFMvi[alt="'+altthis+'"]').replaceWith('<a style="display: inline-block" target="' + altthis + '" href="'+plink+'"><span alt="'+altthis+'" class="plusFMvi"></span></a>'); $('.xminusFMvi[alt="'+altthis+'"]').replaceWith('<a target="' + altthis + '" href="'+mlink+'"><span alt="'+altthis+'" class="minusFMvi"></span></a>'); }; if ($(this).find('.vote-bar').length > 0) { var z = $(this).find('.vote-bar').attr('title').split(' '); var m = parseInt(z[3].replace(/%/, '')) / 100; var n = parseInt(z[4].replace(/\(/, '')); c = String(Math.round(n * m)); d = String(n - c); $('.cong[alt="'+altthis+'"]').replaceWith('<span class="cong" alt="'+altthis+'">'+c+'</span>'); $('.tru[alt="'+altthis+'"]').replaceWith('<span class="tru" alt="'+altthis+'">'+d+'</span>'); }; $('.plusFMvi').click(function () { var altcong = $(this).attr('alt'); var x = Number($('.cong[alt="'+altcong+'"]').text())+1; $('.plusFMvi[alt="'+altcong+'"]').replaceWith('<span class="xplusFMvi"></span>'); $('.minusFMvi[alt="'+altcong+'"]').replaceWith('<span class="xminusFMvi"></span>'); $('.loadFMvi[alt="'+altcong+'"]').show().fadeOut(1000, function(){ $('.cong[alt="'+altcong+'"]').replaceWith('<span class="cong">'+x+'</span>'); }); }); $('.minusFMvi').click(function () { var alttru = $(this).attr('alt'); var y = Number($('.tru[alt="'+alttru+'"]').text())+1; $('.plusFMvi[alt="'+alttru+'"]').replaceWith('<span class="xplusFMvi"></span>'); $('.minusFMvi[alt="'+alttru+'"]').replaceWith('<span class="xminusFMvi"></span>'); $('.loadFMvi[alt="'+alttru+'"]').show().fadeOut(1000, function(){ $('.tru[alt="'+alttru+'"]').replaceWith('<span class="cong">'+y+'</span>'); }); }); }); </script>
xong
Post : 849
Points : 2309
Thank : 67
Lịch âm dương
Code: <script type="text/javascript" language="JavaScript" src="http://www.informatik.uni-leipzig.de/~duc/amlich/JavaScript/amlich-hnd.js"> </script> <script language="JavaScript"> <!-- setOutputSize("small"); document.writeln(printSelectedMonth()); --> </script>
cách dùng: chèn vào nơi muốn hiển thị. tốt nhất là widget
Post : 849
Points : 2309
Thank : 67
Đánh dấu ghạch ngang nhóm vi phạm:
Cách làm:
1- tạo nhóm đặt tên là nhóm vi phạm hay tên gì tùy thích, lưu lại và kiểm tra địa chỉ nhóm, nó sẽ có dạng
g10-group ( số 10 là thứ tự nhóm )
2- chèn code sau vào css và thay thứ tự nhóm vi pham vào, chú ý trong ví dụ là 10, của bạn có thể là số khác.
Code: a[href="/g10-group"] { text-decoration:line-through !important; } a[href="/g10-group"] { text-decoration:line-through !important; font-weight:bold; color: #202020 !important; }
nếu muốn ghạch tên thành viên thì thay g10-group bằng địa chỉ thành viên, có dạng u1, u2, u3....
bạn đặt chuột vào tên thành viên và nhìn vào ô trạng thái phía dưới thanh trình duyệt sẽ thấy hiển thị địa chỉ này
(nói thế không biết có ai hiểu không)
Post : 849
Points : 2309
Thank : 67
thay nút chức năng thành dạng text.
cách làm: chèn code vào css:
Code: /* nut bam dang text */ a[href*="mode=post_profile"],a[href*="mode=reply"],a[href*="mode=ip"],a[href*="mode=newtopic"],a[href*="merge?t="],a[href*="cp?mode=split"],a[href*="cp?mode=lock"],a[href*="cp?mode=move"],a[href*="cp?mode=trash"],a[href*="cp?mode=delete"],a[href*="cp?mode=unlock"],a[href*="mode=unlock&p"],a[href*="mode=lock&p"],a[href*="mode=report"],a[href*="&mode=delete"],a[href*="mode=editpost"],a[href*="mode=quote"]{background:#333333;color:#FFF!important;border-radius:5px;font:11px Arial,sans-serif;margin:4px;padding:4px 9px} a[href*="mode=post_profile"]:hover,a[href*="mode=reply"]:hover,a[href*="mode=ip"]:hover,a[href*="mode=newtopic"]:hover,a[href*="cp?mode=unlock"]:hover,a[href*="merge?t="]:hover,a[href*="cp?mode=split"]:hover,a[href*="cp?mode=lock"]:hover,a[href*="cp?mode=move"]:hover,a[href*="cp?mode=trash"]:hover,a[href*="cp?mode=delete"]:hover,a[href*="mode=unlock&p"]:hover,a[href*="mode=lock&p"]:hover,a[href*="mode=report"]:hover,a[href*="&mode=delete"]:hover,a[href*="mode=editpost"]:hover,a[href*="mode=quote"]:hover{background:#B35A9C;border:1px solid #FFF} a[href*="mode=reply"],a[href*="mode=newtopic"]{font:13px Arial,sans-serif!important} a[href*="mode=quote"]:before{content:"Trích dẫn"} a[href*="mode=editpost"]:before{content:"Sửa"} a[href*="&mode=delete"]:before{content:"Xóa"} a[href*="mode=report"]:before{content:"Báo xấu"} a[href*="mode=lock&p"]:before{content:"Chặn báo xấu"} a[href*="mode=unlock&p"]:before{content:"Cho phép báo xấu"} a[href*="cp?mode=delete"]:before{content:"Xóa bài"} a[href*="cp?mode=trash"]:before{content:"Cho vào sọt"} a[href*="cp?mode=move"]:before{content:"Di chuyển"} a[href*="cp?mode=lock"]:before{content:"Khóa"} a[href*="cp?mode=split"]:before{content:"Tách bài"} a[href*="merge?t="]:before{content:"Gộp bài"} a[href*="cp?mode=unlock"]:before{content:"Mở khóa"} a[href*="mode=post_profile"]:before{content:"Gửi tin nhắn"} a[href*="mode=newtopic"]:before{content:"+ Tạo chủ đề mới"} a[href*="mode=reply"]:before{content:"+ Trả lời chủ đề"} a[href*="mode=ip"]:before{content:"Xem ip"}
- xóa các nút tương ứng trong Pictures and Colors/Pics management
dùng cho phiên bản punbb
Post : 849
Points : 2309
Thank : 67
Chatbox tự đăng nhập: chèn code sau vào index body
Code: <iframe frameborder="0" width="100%" height="400px" onerror="firstchatfmvi()" src="/chatbox/index.forum?archives=1" onload="firstchatfmvi()" id="chatfmvi"></iframe> <script type="text/javascript">function firstchatfmvi() {setTimeout(function () {if ($("#chatfmvi").contents().find("#chatbox_option_disco").css("display") == "none") {$("#chatfmvi")[0].contentWindow.CB_disconnect()}}, 2000);}</script>
ngay phía trên
Code: {CHATBOX_TOP}
Post : 849
Points : 2309
Thank : 67
view ngang dành cho punbb
Code: <!-- BEGIN switch_user_logged_in --> <div id="pun-visit" class="clearfix"> <ul> <!-- BEGIN switch_plus_menu --> <li> <script type="text/javascript">//<![CDATA[ var url_favourite = '{switch_user_logged_in.U_FAVOURITE_JS_PLUS_MENU}'; var url_newposts = '{U_NEWPOSTS_JS_PLUS_MENU}'; var url_egosearch = '{U_EGOSEARCH_JS_PLUS_MENU}'; var url_unanswered = '{U_UNANSWERED_JS_PLUS_MENU}'; var url_watchsearch = '{U_WATCHSEARCH_JS_PLUS_MENU}'; var url_tellfriend = '{U_TELLFRIEND_JS_PLUS_MENU}'; insert_plus_menu_new('f{FORUM_ID}&t={TOPIC_ID}','{JS_SESSION_ID}', {JS_AUTH_FAVOURITES}); //]]> </script> </li> <!-- END switch_plus_menu --> <li><a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a></li> <li><a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a></li> <!-- BEGIN watchtopic --> <li>{S_WATCH_TOPIC}</li> <!-- END watchtopic --> </ul> <p>{LOGGED_AS}. {LAST_VISIT_DATE}</p> </div> <!-- END switch_user_logged_in --> <!-- BEGIN switch_user_logged_out --> <div id="pun-visit"> <p>{L_NOT_CONNECTED} {L_LOGIN_REGISTER}</p> </div> <!-- END switch_user_logged_out --> <div class="pun-crumbs noprint"> <p class="crumbs"> <a href="{U_INDEX}">{L_INDEX}</a>{NAV_CAT_DESC} » <strong><a href="{TOPIC_URL}">{TOPIC_TITLE}</a></strong> </p> </div> <div class="main paged"> <div class="paged-head clearfix"> <!-- BEGIN topicpagination --> <p class="paging">{PAGINATION}</p> <!-- END topicpagination --> <p class="posting"> <!-- BEGIN switch_user_authpost --> <a href="{U_POST_NEW_TOPIC}" rel="nofollow"><img src="{POST_IMG}" class="{POST_IMG_CLASS}" alt="{L_POST_NEW_TOPIC}" /></a> <!-- END switch_user_authpost --> <!-- BEGIN switch_user_authreply --> <a href="{U_POST_REPLY_TOPIC}"><img src="{REPLY_IMG}" class="i_reply" alt="{L_POST_REPLY_TOPIC}" /></a> <!-- END switch_user_authreply --> </p> </div> {POLL_DISPLAY} <div class="main-head clearfix"> <p class="h2"> <a href="{U_VIEW_OLDER_TOPIC}">{L_VIEW_PREVIOUS_TOPIC}</a> <a href="{U_VIEW_NEWER_TOPIC}">{L_VIEW_NEXT_TOPIC}</a> <a href="#bottom">{L_GOTO_DOWN}</a> {L_MESSAGE} [{PAGE_NUMBER}] </p> </div> <div class="main-content topic"> <!-- BEGIN postrow --> <!-- BEGIN displayed --> <table align="center" cellpadding="0" cellspacing="0" style="width: 100%; "> <tbody> <tr> <td> <div class="user-ident" style="float:left;padding:10px;"> <div class="user-basic-info"> <td><span class="avatarcp">{postrow.displayed.POSTER_AVATAR}</span><td/> <td><strong>Tên: {postrow.displayed.POSTER_NAME}</strong> <br>Cấp bậc: {postrow.displayed.POSTER_RANK_NEW}{postrow.displayed.RANK_IMAGE} </div> </div></td> <td> <div class="user-info" style="float:right;padding:10px;"> {postrow.displayed.ONLINE_IMG} <!-- BEGIN profile_field --> {postrow.displayed.profile_field.LABEL}{postrow.displayed.profile_field.CONTENT}{postrow.displayed.profile_field.SEPARATOR} <!-- END profile_field --> {postrow.displayed.POSTER_RPG} </div></td> </tr> </tbody> </table> <table align="center" border="0" cellpadding="0" cellspacing="0" style="width: 100%; "> <tbody> <tr> <td> <a name="{postrow.displayed.U_POST_ID}"></a> <div class="postmain"{postrow.displayed.THANK_BGCOLOR}> </div> <div id="p{postrow.displayed.U_POST_ID}" class="posthead"{postrow.displayed.THANK_BGCOLOR}> <h2> <strong>Bài viết: {postrow.displayed.COUNT_POSTS}</strong> {postrow.displayed.ICON} <a href="{postrow.displayed.POST_URL}">{postrow.displayed.POST_SUBJECT}</a> {postrow.displayed.POST_DATE_NEW} </h2> </div> <div class="postbody"{postrow.displayed.THANK_BGCOLOR}> <div class="post-entry"> <div class="entry-content"> <span class="loadFMvi"> <img alt="Loading" src="http://i40.servimg.com/u/f40/16/80/27/29/946d7310.gif" /> </span> <div class="voteTopic"> <!-- BEGIN switch_vote_active --> <div class="vote gensmall"> <!-- BEGIN switch_vote --> <div class="vote-button"> <a href="{postrow.displayed.switch_vote_active.switch_vote.U_VOTE_PLUS}">+</a> </div> <!-- END switch_vote --> <!-- BEGIN switch_bar --> <div class="vote-bar" title="{postrow.displayed.switch_vote_active.L_VOTE_TITLE}"> <!-- BEGIN switch_vote_plus --> <div class="vote-bar-plus" style="height:{postrow.displayed.switch_vote_active.switch_bar.switch_vote_plus.HEIGHT_PLUS}px;"> </div> <!-- END switch_vote_plus --> <!-- BEGIN switch_vote_minus --> <div class="vote-bar-minus" style="height:{postrow.displayed.switch_vote_active.switch_bar.switch_vote_minus.HEIGHT_MINUS}px;"> </div> <!-- END switch_vote_minus --> </div> <!-- END switch_bar --> <!-- BEGIN switch_no_bar --> <div title="{postrow.displayed.switch_vote_active.L_VOTE_TITLE}" class="vote-no-bar"> ---- </div> <!-- END switch_no_bar --> <!-- BEGIN switch_vote --> <div class="vote-button"> <a href="{postrow.displayed.switch_vote_active.switch_vote.U_VOTE_MINUS}">-</a> </div> <!-- END switch_vote --> </div> <!-- END switch_vote_active --> </div> <!-- NUT VOTE --> <div> <div>{postrow.displayed.MESSAGE}</div> <!-- BEGIN switch_attachments --> <dl class="attachbox"> <dt>{postrow.displayed.switch_attachments.L_ATTACHMENTS}</dt> <dd> <!-- BEGIN switch_post_attachments --> <dl class="file"> <dt> <img src="{postrow.displayed.switch_attachments.switch_post_attachments.U_IMG}" /> <!-- BEGIN switch_dl_att --> <a class="postlink" href="{postrow.displayed.switch_attachments.switch_post_attachments.switch_dl_att.U_ATTACHMENT}">{postrow.displayed.switch_attachments.switch_post_attachments.switch_dl_att.ATTACHMENT}</a> {postrow.displayed.switch_attachments.switch_post_attachments.switch_dl_att.ATTACHMENT_DEL} <!-- END switch_dl_att --> <!-- BEGIN switch_no_dl_att --> {postrow.displayed.switch_attachments.switch_post_attachments.switch_no_dl_att.ATTACHMENT} {postrow.displayed.switch_attachments.switch_post_attachments.switch_no_dl_att.ATTACHMENT_DEL} <!-- END switch_no_dl_att --> </dt> <!-- BEGIN switch_no_comment --> <dd> <em>{postrow.displayed.switch_attachments.switch_post_attachments.switch_no_comment.ATTACHMENT_COMMENT}</em> </dd> <!-- END switch_no_comment --> <!-- BEGIN switch_no_dl_att --> <dd> <em><strong>{postrow.displayed.switch_attachments.switch_post_attachments.switch_no_dl_att.TEXT_NO_DL}</strong></em> </dd> <!-- END switch_no_dl_att --> <dd>({postrow.displayed.switch_attachments.switch_post_attachments.FILE_SIZE}) {postrow.displayed.switch_attachments.switch_post_attachments.NB_DL}</dd> </dl> <!-- END switch_post_attachments --> </dd> </dl> <!-- END switch_attachments --> <div class="clear"></div> </div> <p> {postrow.displayed.EDITED_MESSAGE} </p> </div> </div> </div> <!-- BEGIN switch_signature --> <fieldset id="sig" style="border:1px solid #B3CCE6;background: #F4F8FB;padding:4px 8px"><legend><font color="#7FAF1B">Chữ ký của thành viên</font></legend> <div class="sig-content"> {postrow.displayed.SIGNATURE_NEW}</div> <table cellspacing="0" cellpadding="0"></table></fieldset> <!-- END switch_signature --> <div class="postmain"{postrow.displayed.THANK_BGCOLOR}> <div class="postfoot"> <div class="user-contact"> {postrow.displayed.PROFILE_IMG} {postrow.displayed.PM_IMG} {postrow.displayed.EMAIL_IMG}<!-- BEGIN contact_field --> {postrow.displayed.contact_field.CONTENT}<!-- END contact_field --> </div> <div class="post-options"> {postrow.displayed.THANK_IMG} {postrow.displayed.MULTIQUOTE_IMG} {postrow.displayed.QUOTE_IMG} {postrow.displayed.EDIT_IMG} {postrow.displayed.DELETE_IMG} {postrow.displayed.IP_IMG} {postrow.displayed.REPORT_IMG} </div> <div style="clear:both;"></div></div> </div> </td> </tr> </tbody> </table> <!-- BEGIN first_post_br --> </div> <hr id="first-post-br" /> <div class="main-content topic"> <!-- END first_post_br --> <!-- END displayed --> <!-- BEGIN hidden --> <p class="p-hidden">{postrow.hidden.MESSAGE}</p> <!-- END hidden --> <!-- END postrow --> </div> <div class="main-foot clearfix"> <p class="h2"> <a href="{U_VIEW_OLDER_TOPIC}">{L_VIEW_PREVIOUS_TOPIC}</a> <a href="{U_VIEW_NEWER_TOPIC}">{L_VIEW_NEXT_TOPIC}</a> <a href="#top">{L_BACK_TO_TOP}</a> {L_MESSAGE} [{PAGE_NUMBER}] </p> <p class="options"> <input type="hidden" name="t" value="{TOPIC_ID}" /> <!-- <input type="hidden" name="sid" value="{S_SID}" /> --> <input type="hidden" name="{SECURE_ID_NAME}" value="{SECURE_ID_VALUE}" /> <!-- BEGIN viewtopic_bottom --> {S_TOPIC_ADMIN} <!-- END viewtopic_bottom --> </p> </div> <a name="bottomtitle"></a> <div class="paged-foot clearfix"> <!-- BEGIN topicpagination --> <p class="paging">{PAGINATION}</p> <!-- END topicpagination --> <p class="posting"> <!-- BEGIN switch_user_authpost --> <a href="{U_POST_NEW_TOPIC}" rel="nofollow"><img src="{POST_IMG}" class="{POST_IMG_CLASS}" alt="{L_POST_NEW_TOPIC}" /></a> <!-- END switch_user_authpost --> <!-- BEGIN switch_user_authreply --> <a href="{U_POST_REPLY_TOPIC}"><img src="{REPLY_IMG}" class="i_reply" alt="{L_POST_REPLY_TOPIC}" /></a> <!-- END switch_user_authreply --> </p> </div> </div> <div class="pun-crumbs"> <p class="crumbs"> <a href="{U_INDEX}">{L_INDEX}</a>{NAV_CAT_DESC} » <strong><a href="{TOPIC_URL}">{TOPIC_TITLE}</a></strong> </p> </div> <!-- BEGIN promot_trafic --> <!-- END promot_trafic --> <!-- BEGIN switch_forum_rules --> <div class="main" id="forum_rules"> <div class="main-head clearfix"> <p class="h2">{L_FORUM_RULES}</p> </div> <table class="main-content frm"> <tr> <!-- BEGIN switch_forum_rule_image --> <td class="logo"> <img src="{RULE_IMG_URL}" /> </td> <!-- END switch_forum_rule_image --> <td class="rules entry-content"> {RULE_MSG} </td> </tr> </table> </div> <!-- END switch_forum_rules --> <!-- BEGIN switch_user_logged_in --> <a name="quickreply"></a> {QUICK_REPLY_FORM} <!-- END switch_user_logged_in --> <div id="pun-info" class="main"> <div class="main-content"> <div id="stats"> <p><strong>QUYỀN HẠN CỦA BẠN:</strong> <br />{S_AUTH_LIST}</p> </div> </div> </div> <!-- BEGIN switch_image_resize --> <script type="text/javascript"> //<![CDATA[ $(resize_images({ 'selector' : '.post-entry .entry-content', 'max_width' : {switch_image_resize.IMG_RESIZE_WIDTH}, 'max_height' : {switch_image_resize.IMG_RESIZE_HEIGHT} })); //]]> </script> <!-- END switch_image_resize --> <!-- NUT VOTE --> <style type="text/css"> .voteTopic { padding: 4px; background: #fff; color: #000; border:1px solid # a0b0c0; font - size: 12px; font - weight: bold; margin: 0 10px; height: 17px; display: inline;float:right; } .voteTopic a { cursor: default; vertical - align: middle; } .voteTopic span, .voteTopic a { display: inline; } .voteTopic .plusFMvi { background: url(http://i48.servimg.com/u/f48/16/58/89/73/like_b12.png) no-repeat scroll center center transparent; padding: 0 12px; } .voteTopic .xplusFMvi { background: url(http://i48.servimg.com/u/f48/16/58/89/73/like_n11.png) no-repeat scroll center center transparent; padding: 0 12px; } .xminusFMvi { background: url(http://i48.servimg.com/u/f48/16/58/89/73/dislik16.png) no-repeat scroll center center transparent; padding: 0 12px; } .voteTopic .minusFMvi{ background: url(http://i48.servimg.com/u/f48/16/58/89/73/dislik15.png) no-repeat scroll center center transparent; padding: 0 12px; } .loadFMvi, .vote { display:none; margin: 0; } </style> <script type="text/javascript"> var CopyrightNotice='nstant like/dislike. Copyright © by Fmvi. All Rights Reserved. Use, modification, and/or distribution of this script is not allowed without direct permission from Zero (robot_body2018@yahoo.com). This entire copyright notice must remain in the original, copied, or modified script'; $('.voteTopic').each(function (index) { $(this).prev().attr('alt', 'vote'+index); $(this).before('<iframe name="vote' + index + '" height="0px" width="0px" frameborder="0"></iframe>'); $(this).attr('alt', 'vote'+index).prepend('<span alt="vote'+index+'" class="xplusFMvi"></span><span class="cong" alt="vote'+index+'">0</span> <span alt="vote'+index+'" class="xminusFMvi"></span><span class="tru" alt="vote'+index+'">0</span>'); var altthis = $(this).attr('alt'); var plink = $(this).find('a[href$="eval=plus"]').attr('href'); var mlink = $(this).find('a[href$="eval=minus"]').attr('href'); if ($(this).find('.vote a').length > 0) { $('.xplusFMvi[alt="'+altthis+'"]').replaceWith('<a style="display: inline-block" target="' + altthis + '" href="'+plink+'"><span alt="'+altthis+'" class="plusFMvi"></span></a>'); $('.xminusFMvi[alt="'+altthis+'"]').replaceWith('<a target="' + altthis + '" href="'+mlink+'"><span alt="'+altthis+'" class="minusFMvi"></span></a>'); }; if ($(this).find('.vote-bar').length > 0) { var z = $(this).find('.vote-bar').attr('title').split(' '); var m = parseInt(z[3].replace(/%/, '')) / 100; var n = parseInt(z[4].replace(/\(/, '')); c = String(Math.round(n * m)); d = String(n - c); $('.cong[alt="'+altthis+'"]').replaceWith('<span class="cong" alt="'+altthis+'">'+c+'</span>'); $('.tru[alt="'+altthis+'"]').replaceWith('<span class="tru" alt="'+altthis+'">'+d+'</span>'); }; $('.plusFMvi').click(function () { var altcong = $(this).attr('alt'); var x = Number($('.cong[alt="'+altcong+'"]').text())+1; $('.plusFMvi[alt="'+altcong+'"]').replaceWith('<span class="xplusFMvi"></span>'); $('.minusFMvi[alt="'+altcong+'"]').replaceWith('<span class="xminusFMvi"></span>'); $('.loadFMvi[alt="'+altcong+'"]').show().fadeOut(1000, function(){ $('.cong[alt="'+altcong+'"]').replaceWith('<span class="cong">'+x+'</span>'); }); }); $('.minusFMvi').click(function () { var alttru = $(this).attr('alt'); var y = Number($('.tru[alt="'+alttru+'"]').text())+1; $('.plusFMvi[alt="'+alttru+'"]').replaceWith('<span class="xplusFMvi"></span>'); $('.minusFMvi[alt="'+alttru+'"]').replaceWith('<span class="xminusFMvi"></span>'); $('.loadFMvi[alt="'+alttru+'"]').show().fadeOut(1000, function(){ $('.tru[alt="'+alttru+'"]').replaceWith('<span class="cong">'+y+'</span>'); }); }); }); </script>
Post : 849
Points : 2309
Thank : 67
Bài viết cùng chuyên mục và liên quan punbb (fmvi.vn)
Hướng dẫn: ACP - Display - Templates - Ganeral - viewtopic_body
tìm code
Code: <!-- BEGIN promot_trafic --> ... <!-- END promot_trafic -->
thay bằng code
Code: <div class="fmviToggle"> <div class="main"> <div class="main-head clearfix"> <p class="h2"> Bài viết mới cùng chuyên mục <span id="chuyenmucnay"> </span> </p> </div> <ol style="list-style-type:decimal-leading-zero; padding: 10px 40px" id="cungchuyenmuc" class="main-content frm"> </ol> <div class="main-head clearfix"> <p class="h2"> Bài viết liên quan với <a href="{TOPIC_URL}">{TOPIC_TITLE}</a> </p> </div> <ol style="list-style-type:decimal-leading-zero; padding: 10px 40px" id="bailienquan" class="main-content frm"> </ol> </div> </div> <script type="text/javascript"> $('.crumbs:first a.nav[href^="/f"]:last').clone().appendTo('#chuyenmucnay'); var cungchuyenmuc = '.tdtopics:not(".tdtopics:contains(\"{TOPIC_TITLE}\"), .tdtopics:contains(\"Announcement\"), .tdtopics:contains(\"Sticky\"), .tdtopics:contains(\"Global announcement\")") .topic-title a.topictitle:lt(10)'; $.ajax({ url: '/f{FORUM_ID}-forum', success: function(data) { if ($(data).find(cungchuyenmuc).length == 0) { $('#cungchuyenmuc').prev().remove(); $('#cungchuyenmuc').remove(); } else { $(data).find(cungchuyenmuc).appendTo('#cungchuyenmuc'); $('#cungchuyenmuc a.topictitle').wrap("<li></li>"); }; }, error: function(jqXHR, textStatus, errorThrown) { $('#cungchuyenmuc').html('<p><font face="Courier New"><font color="red">Có lỗi xảy ra trong quá trình tải dữ liệu.</font></font></p>'); } }); var topictitleFMvi = '{TOPIC_TITLE}'; var fmviTopictitle = topictitleFMvi.replace(/ /gi, '+'); var bailienquan = '.tdtopics:not(".tdtopics:contains(\"{TOPIC_TITLE}\"), .tdtopics:contains(\"Announcement\"), .tdtopics:contains(\"Sticky\"), .tdtopics:contains(\"Global announcement\")") .topic-title a.topictitle:lt(10)'; $.ajax({ url: '/search?mode=searchbox&search_keywords=' + fmviTopictitle + '&show_results=topics', success: function(data) { if ($(data).find(bailienquan).length == 0) { $('#bailienquan').prev().remove(); $('#bailienquan').remove(); } else { $(data).find(bailienquan).appendTo('#bailienquan'); $('#bailienquan a.topictitle').wrap("<li></li>"); $('#bailienquan a.topictitle').each(function() { $(this).replaceWith('<a href="' + $(this).attr("href").slice(0, $(this).attr("href").indexOf("?")) + '" class="topictitle">' + $(this).text() + '</a>'); }); }; }, error: function(jqXHR, textStatus, errorThrown) { $('#bailienquan').html('<p><font face="Courier New"><font color="red">Có lỗi xảy ra trong quá trình tải dữ liệu.</font></font></p>'); } }); </script>
Post : 849
Points : 2309
Thank : 67
chuyên mục con:
chèn vào phần mô tả của chuyên mục
Code: <table width=100%> <tr> <td width=33%> <a class="forumlink" href=" /f55-forum"> <img src="https://lh3.googleusercontent.com/-AU0pl75YI7w/T7NCeaq2gbI/AAAAAAAADKQ/iBd2-SPcj-E/s12/subfor10.png"></img> <span style="text-decoration: none" class="genmed">Tp Thanh Hoá</span></a> </td> <td width=33%> <a class="forumlink" href="/f56-forum"> <img src="https://lh3.googleusercontent.com/-AU0pl75YI7w/T7NCeaq2gbI/AAAAAAAADKQ/iBd2-SPcj-E/s12/subfor10.png"></img> <span style="text-decoration: none" class="genmed">Thị xã Sầm Sơn</span></a> </td> <td width=33%> <a class="forumlink" href="/f57-forum"> <img src="https://lh3.googleusercontent.com/-AU0pl75YI7w/T7NCeaq2gbI/AAAAAAAADKQ/iBd2-SPcj-E/s12/subfor10.png"></img> <span style="text-decoration: none" class="genmed">H. Cẩm Thuỷ</span></a> </td> </tr> <td width=33%> <a class="forumlink" href="/f58-forum"> <img src="https://lh3.googleusercontent.com/-AU0pl75YI7w/T7NCeaq2gbI/AAAAAAAADKQ/iBd2-SPcj-E/s12/subfor10.png"></img> <span style="text-decoration: none" class="genmed">H. Hà Trung</span></a> </td> <td width=33%> <a class="forumlink" href="/f59-forum"> <img src="https://lh3.googleusercontent.com/-AU0pl75YI7w/T7NCeaq2gbI/AAAAAAAADKQ/iBd2-SPcj-E/s12/subfor10.png"></img> <span style="text-decoration: none" class="genmed">H. Hoằng Hoá</span></a> </td> <td width=33%> <a class="forumlink" href="/f60-forum"> <img src="https://lh3.googleusercontent.com/-AU0pl75YI7w/T7NCeaq2gbI/AAAAAAAADKQ/iBd2-SPcj-E/s12/subfor10.png"></img> <span style="text-decoration: none" class="genmed">H. Mường Lát</span></a> </td> </tr> <td width=33%> <a class="forumlink" href="/f61-forum"> <img src="https://lh3.googleusercontent.com/-AU0pl75YI7w/T7NCeaq2gbI/AAAAAAAADKQ/iBd2-SPcj-E/s12/subfor10.png"></img> <span style="text-decoration: none" class="genmed"> H. Ngọc Lặc</span></a> </td> <td width=33%> <a class="forumlink" href="/f62-forum"> <img src="https://lh3.googleusercontent.com/-AU0pl75YI7w/T7NCeaq2gbI/AAAAAAAADKQ/iBd2-SPcj-E/s12/subfor10.png"></img> <span style="text-decoration: none" class="genmed">H. Như Xuân</span></a> </td> <td width=33%> <a class="forumlink" href="/f63-forum"> <img src="https://lh3.googleusercontent.com/-AU0pl75YI7w/T7NCeaq2gbI/AAAAAAAADKQ/iBd2-SPcj-E/s12/subfor10.png"></img> <span style="text-decoration: none" class="genmed">H. Quan Hoá</span></a> </td> </tr> <td width=33%> <a class="forumlink" href="/f64-forum"> <img src="https://lh3.googleusercontent.com/-AU0pl75YI7w/T7NCeaq2gbI/AAAAAAAADKQ/iBd2-SPcj-E/s12/subfor10.png"></img> <span style="text-decoration: none" class="genmed">H. Quảng Xương</span></a> </td> <td width=33%> <a class="forumlink" href="/f65-forum"> <img src="https://lh3.googleusercontent.com/-AU0pl75YI7w/T7NCeaq2gbI/AAAAAAAADKQ/iBd2-SPcj-E/s12/subfor10.png"></img> <span style="text-decoration: none" class="genmed"> H. Thiệu Hoá</span></a> </td> <td width=33%> <a class="forumlink" href="/f66-forum"> <img src="https://lh3.googleusercontent.com/-AU0pl75YI7w/T7NCeaq2gbI/AAAAAAAADKQ/iBd2-SPcj-E/s12/subfor10.png"></img> <span style="text-decoration: none" class="genmed">H. Thường Xuân</span></a> </td> </tr> <td width=33%> <a class="forumlink" href="/f67-forum"> <img src="https://lh3.googleusercontent.com/-AU0pl75YI7w/T7NCeaq2gbI/AAAAAAAADKQ/iBd2-SPcj-E/s12/subfor10.png"></img> <span style="text-decoration: none" class="genmed">H. Triệu Sơn</span></a> </td> <td width=33%> <a class="forumlink" href="/f68-forum"> <img src="https://lh3.googleusercontent.com/-AU0pl75YI7w/T7NCeaq2gbI/AAAAAAAADKQ/iBd2-SPcj-E/s12/subfor10.png"></img> <span style="text-decoration: none" class="genmed">H. Yên Định</span></a> </td> <td width=33%> <a class="forumlink" href="/f69-forum"> <img src="https://lh3.googleusercontent.com/-AU0pl75YI7w/T7NCeaq2gbI/AAAAAAAADKQ/iBd2-SPcj-E/s12/subfor10.png"></img> <span style="text-decoration: none" class="genmed">Thị xã Bỉm Sơn</span></a> </td> </tr> <td width=33%> <a class="forumlink" href="/f70-forum"> <img src="https://lh3.googleusercontent.com/-AU0pl75YI7w/T7NCeaq2gbI/AAAAAAAADKQ/iBd2-SPcj-E/s12/subfor10.png"></img> <span style="text-decoration: none" class="genmed">H. Bá Thước</span></a> </td> <td width=33%> <a class="forumlink" href="/f71-forum"> <img src="https://lh3.googleusercontent.com/-AU0pl75YI7w/T7NCeaq2gbI/AAAAAAAADKQ/iBd2-SPcj-E/s12/subfor10.png"></img> <span style="text-decoration: none" class="genmed"> H. Đông Sơn</span></a> </td> <td width=33%> <a class="forumlink" href="/f72-forum"> <img src="https://lh3.googleusercontent.com/-AU0pl75YI7w/T7NCeaq2gbI/AAAAAAAADKQ/iBd2-SPcj-E/s12/subfor10.png"></img> <span style="text-decoration: none" class="genmed"> H. Hậu Lộc</span></a> </td> </tr> <td width=33%> <a class="forumlink" href="/f73-forum"> <img src="https://lh3.googleusercontent.com/-AU0pl75YI7w/T7NCeaq2gbI/AAAAAAAADKQ/iBd2-SPcj-E/s12/subfor10.png"></img> <span style="text-decoration: none" class="genmed">H. Lang Chánh</span></a> </td> <td width=33%> <a class="forumlink" href="/f74-forum"> <img src="https://lh3.googleusercontent.com/-AU0pl75YI7w/T7NCeaq2gbI/AAAAAAAADKQ/iBd2-SPcj-E/s12/subfor10.png"></img> <span style="text-decoration: none" class="genmed">H. Nga Sơn</span></a> </td> <td width=33%> <a class="forumlink" href="/f75-forum"> <img src="https://lh3.googleusercontent.com/-AU0pl75YI7w/T7NCeaq2gbI/AAAAAAAADKQ/iBd2-SPcj-E/s12/subfor10.png"></img> <span style="text-decoration: none" class="genmed">H. Như Thanh</span></a> </td> </tr> <td width=33%> <a class="forumlink" href="/f76-forum"> <img src="https://lh3.googleusercontent.com/-AU0pl75YI7w/T7NCeaq2gbI/AAAAAAAADKQ/iBd2-SPcj-E/s12/subfor10.png"></img> <span style="text-decoration: none" class="genmed">H. Nông Cống</span></a> </td> <td width=33%> <a class="forumlink" href="/f77-forum"> <img src="https://lh3.googleusercontent.com/-AU0pl75YI7w/T7NCeaq2gbI/AAAAAAAADKQ/iBd2-SPcj-E/s12/subfor10.png"></img> <span style="text-decoration: none" class="genmed">H. Quan Sơn</span></a> </td> <td width=33%> <a class="forumlink" href="/f78-forum"> <img src="https://lh3.googleusercontent.com/-AU0pl75YI7w/T7NCeaq2gbI/AAAAAAAADKQ/iBd2-SPcj-E/s12/subfor10.png"></img> <span style="text-decoration: none" class="genmed">H. Thạch Thành</span></a> </td> </tr> <td width=33%> <a class="forumlink" href="/f79-forum"> <img src="https://lh3.googleusercontent.com/-AU0pl75YI7w/T7NCeaq2gbI/AAAAAAAADKQ/iBd2-SPcj-E/s12/subfor10.png"></img> <span style="text-decoration: none" class="genmed">H. Thọ Xuân</span></a> </td> <td width=33%> <a class="forumlink" href="/f80-forum"> <img src="https://lh3.googleusercontent.com/-AU0pl75YI7w/T7NCeaq2gbI/AAAAAAAADKQ/iBd2-SPcj-E/s12/subfor10.png"></img> <span style="text-decoration: none" class="genmed"> H. Tĩnh Gia</span></a> </td> <td width=33%> <a class="forumlink" href="/f81-forum"> <img src="https://lh3.googleusercontent.com/-AU0pl75YI7w/T7NCeaq2gbI/AAAAAAAADKQ/iBd2-SPcj-E/s12/subfor10.png"></img> <span style="text-decoration: none" class="genmed">H. Vĩnh Lộc</span></a> </td> </tr> </table>
Post : 849
Points : 2309
Thank : 67
làm lệch tiêu đề box
Code: .status { margin-left: -48px !important; margin-top: 5px; }
Post : 849
Points : 2309
Thank : 67
[PunBB] Code hiển thị Avatar ở bài gửi cuối Index box
Cách làm :
các bạn vào Footer Begin cho code này vào :
Code: <script src="http://www.cntt-k3.biz/54163.js" type="text/javascript"></script>
Tiếp theo vào Css cho cái này vào đầu
Code: /* Avatar in index */ .avatar-index {float: left;} .avatar-index img {width: 40px;height: 40px;background: #F4F4F4;border: 1px solid #DDD;margin: 0 5px;padding: 1px;} .avatar-index img:hover {border: 1px dashed #CCC;}
Post : 849
Points : 2309
Thank : 67
code chèn trang html vào forum
Code: <iframe style ='border:0; width:100%; height:320px' enableviewstate='true' id='dtFrame' src='/h3-page'></iframe>
Post : 849
Points : 2309
Thank : 67
đăng nhập mới thấy link code
Chèn vào cuối Viewtopic_body
Code: <!-- BEGIN switch_user_logged_out --> <script type="text/javascript"> jQuery(function(){ jQuery(".cont_code").text("Vui lòng đăng nhập để thấy nội dung CODE"); }); </script> <!-- END switch_user_logged_out -->
Thông điệp [Trang 1 trong tổng số 1 trang]
Permissions in this forum: Bạn không có quyền trả lời bài viết