| Tiêu đề: Lasttopic version2 Thu Sep 09, 2010 8:13 am |
| | | | | *** 1. vào ACP>>display>>templates>>QLTT>> overall_header Tìm đoạn code:
[b]Thay bằng Code:
<table class="thongke" style="border: 1px solid rgb(192, 192, 192);" align="center" border="0" cellpadding="4" cellspacing="0" width="100%"><tr valign="top">News & Announcements</tr><tr><td width="100%">
<table class="thongke" align="center" border="0" cellpadding="0" cellspacing="4" width="100%"><tr valign="top"><td width="23%"> </td><td colspan="2" width="100%"> </td></tr><tr><td> <table class="thongke" align="center" border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td colspan="3"> -ba/Mt-thi--ba-cat_c5.htm|http://a1tinhgia3.co.cc/gallery/Show-nh-hu--3/Show-nh-hu--3-cat_c6.htm|http://a1tinhgia3.co.cc/gallery/nh-lien-hoan/nh-lien-hoan-cat_c4.htm|http://a1tinhgia3.co.cc/gallery/nh-i-chi-bach-khoa/nh-i-chi-bach-khoa-cat_c3.htm|http://a1tinhgia3.co.cc/gallery/Mt-thi--ba/Mt-thi--ba-cat_c5.htm|http://a1tinhgia3.co.cc/gallery/Show-nh-hu--3/Show-nh-hu--3-cat_c6.htm|http://a1tinhgia3.co.cc/gallery/nh-lien-hoan/nh-lien-hoan-cat_c4.htm|http://a1tinhgia3.co.cc/gallery/nh-i-chi-bach-khoa/nh-i-chi-bach-khoa-cat_c3.htm|http://a1tinhgia3.co.cc/forum-f2/&bcastr_title=Ngày còn đi học!! |Ảnh của A1 khi đã là sv nè, hot nhé!!|Ảnh liên hoan cuối cấp đây!!|Ảnh tùm lum|Năm tháng cũ|Ảnh hậu cấp 3|Liên hoan|Ảnh đi chơi ở bách khoa nè|Đuổi hình bắt chữ & menu="false" quality="high" width="100%" height="150" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /> </td></tr><tr><td style="border: 1px solid rgb(157, 179, 197);" valign="top">
{giefmod_index1.MODVAR} </td></tr></table>
</td></tr></table>
</td></tr><tr><td valign="top" width="100%">
</td></tr></table> |
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); } }; }();
2. vào ACP>>display>>template>>portal -mod_new : thay toàn bộ bằng code
<table align="center" border="0" cellpadding="0" cellspacing="0" width="100%"></table> | <table border="0" cellpadding="0" cellspacing="0" width="100%"><tr valign="top"><td style="border-top: 0px none; padding: 0px; background: url("https://2img.net/h/i832.photobucket.com/albums/zz244/a1tg3/list.gif") no-repeat scroll center top transparent; -moz-background-inline-policy: continuous;" width="24"></td><td style="border-top: 0px none; padding: 0px; line-height: 20px; background-repeat: repeat;" align="left" background="https://2img.net/h/i832.photobucket.com/albums/zz244/a1tg3/listbg.gif"> [You must be registered and logged in to see this link.]
[You must be registered and logged in to see this link.]
[You must be registered and logged in to see this link.]
[You must be registered and logged in to see this link.]
[You must be registered and logged in to see this link.]
[You must be registered and logged in to see this link.]
[You must be registered and logged in to see this link.]
[You must be registered and logged in to see this link.]
[You must be registered and logged in to see this link.]
[You must be registered and logged in to see this link.]
</td></tr></table> | tabview_initialize('TabView');#topbar{ PADDING-TOP: 0px;PADDING-BOTTOM: 0px;PADDING-RIGHT: 0px; PADDING-LEFT: 0px;VISIBILITY: hidden;WIDTH: 180px;FONT-FAMILY: Tahoma;POSITION: absolute;}var persistclose = 0var startX = 80var startY = 500var verticalpos = "frombottom"function iecompattest(){return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body}function get_cookie(Name){var search = Name + "="var returnvalue = "";if (document�cookie.length > 0){offset = document�cookie.indexOf(search)if (offset != -1){offset += search.lengthend = document�cookie.indexOf(";", offset);if (end == -1) end = document�cookie.length;returnvalue=unescape(document�cookie.substring(offset, end))}}return returnvalue;}function closebar(){if (persistclose)document�cookie="remainclosed=1"document.getElementById("topbar").style.visibility="hidden"}function staticbar(){barheight=document.getElementById("topbar").offsetHeightvar ns = (navigator.appName.indexOf("Netscape") != -1) || window.opera;var d = document;function ml(id){var el=d.getElementById(id);if (!persistclose || persistclose && get_cookie("remainclosed")=="")el.style.visibility="visible"if(d.layers)el.style=el;el.sP=function(x,y){this.style.right=x+"px";this.style.top=y+"px";};el.x = startX;if (verticalpos=="fromtop")el.y = startY;else{el.y = ns ? pageYOffset + innerHeight : iecompattest().scrollTop + iecompattest().clientHeight;el.y -= startY;}return el;}window.stayTopLeft=function(){if (verticalpos=="fromtop"){var pY = ns ? pageYOffset : iecompattest().scrollTop;ftlObj.y += (pY + startY - ftlObj.y)/8;}else{var pY = ns ? pageYOffset + innerHeight - barheight: iecompattest().scrollTop + iecompattest().clientHeight - barheight;ftlObj.y += (pY - startY - ftlObj.y)/8;}ftlObj.sP(ftlObj.x, ftlObj.y);setTimeout("stayTopLeft()", 10);}ftlObj = ml("topbar");stayTopLeft();}if (window.addEventListener)window.addEventListener("load", staticbar, false)else if (window.attachEvent)window.attachEvent("onload", staticbar)else if (document.getElementById)window.onload=staticbar
lasttopic version2 )
[You must be registered and logged in to see this link.] on Sun Aug 22, 2010 4:32 pm[You must be registered and logged in to see this link.]
First topic message reminder :
Lý do chia sẻ : cho mọi ng cùng nghịch . *thấy hay nên chia sẻ cho mọi ng, chả giữ được*
Gọi là ver2 bởi nó k phải là [You must be registered and logged in to see this link.] Cải tiến : - Phụ: top poster đẹp hơn vì FM vừa cập nhật mod_topposter mà - Chính: trên tab last topic có thêm 1 tab bài viết mới của 1 box nữa, tab này là tự cập nhật nhá. Hình
Bây h làm Trước khi làm hãy xác định diễn đàn mà mình cho lên bài viết mới (diễn đàn chứ ko phải là nhóm chuyên mục) VD : mình chọn là "đố vui & trò hay" – *ghi nhớ ,sẽ dùng * 1. vào ACP>>display>>templates>>QLTT>> overall_header Tìm : Code:
Thay bằng: Code:
<table class="thongke" style="border: 1px solid rgb(192, 192, 192);" align="center" border="0" cellpadding="4" cellspacing="0" width="100%"><tr valign="top">News & Announcements</tr><tr><td width="100%">
<table class="thongke" align="center" border="0" cellpadding="0" cellspacing="4" width="100%"><tr valign="top"><td width="23%"> </td><td colspan="2" width="100%"> </td></tr><tr><td> <table class="thongke" align="center" border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td colspan="3"> -ba/Mt-thi--ba-cat_c5.htm|http://a1tinhgia3.co.cc/gallery/Show-nh-hu--3/Show-nh-hu--3-cat_c6.htm|http://a1tinhgia3.co.cc/gallery/nh-lien-hoan/nh-lien-hoan-cat_c4.htm|http://a1tinhgia3.co.cc/gallery/nh-i-chi-bach-khoa/nh-i-chi-bach-khoa-cat_c3.htm|http://a1tinhgia3.co.cc/gallery/Mt-thi--ba/Mt-thi--ba-cat_c5.htm|http://a1tinhgia3.co.cc/gallery/Show-nh-hu--3/Show-nh-hu--3-cat_c6.htm|http://a1tinhgia3.co.cc/gallery/nh-lien-hoan/nh-lien-hoan-cat_c4.htm|http://a1tinhgia3.co.cc/gallery/nh-i-chi-bach-khoa/nh-i-chi-bach-khoa-cat_c3.htm|http://a1tinhgia3.co.cc/forum-f2/&bcastr_title=Ngày còn đi học!! |Ảnh của A1 khi đã là sv nè, hot nhé!!|Ảnh liên hoan cuối cấp đây!!|Ảnh tùm lum|Năm tháng cũ|Ảnh hậu cấp 3|Liên hoan|Ảnh đi chơi ở bách khoa nè|Đuổi hình bắt chữ & menu="false" quality="high" width="100%" height="150" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /> </td></tr><tr><td style="border: 1px solid rgb(157, 179, 197);" valign="top">
{giefmod_index1.MODVAR} </td></tr></table>
</td></tr></table>
</td></tr><tr><td valign="top" width="100%">
</td></tr></table> |
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); } }; }();
2. vào ACP>>display>>template>>portal -mod_new : thay toàn bộ bằng code Code:
<table align="center" border="0" cellpadding="0" cellspacing="0" width="100%"></table> | <table border="0" cellpadding="0" cellspacing="0" width="100%"><tr valign="top"><td style="border-top: 0px none; padding: 0px; background: url("https://2img.net/h/i832.photobucket.com/albums/zz244/a1tg3/list.gif") no-repeat scroll center top transparent; -moz-background-inline-policy: continuous;" width="24"></td><td style="border-top: 0px none; padding: 0px; line-height: 20px; background-repeat: repeat;" align="left" background="https://2img.net/h/i832.photobucket.com/albums/zz244/a1tg3/listbg.gif"> [You must be registered and logged in to see this link.]
[You must be registered and logged in to see this link.]
[You must be registered and logged in to see this link.]
[You must be registered and logged in to see this link.]
[You must be registered and logged in to see this link.]
[You must be registered and logged in to see this link.]
[You must be registered and logged in to see this link.]
[You must be registered and logged in to see this link.]
[You must be registered and logged in to see this link.]
[You must be registered and logged in to see this link.]
</td></tr></table> | tabview_initialize('TabView');#topbar{ PADDING-TOP: 0px;PADDING-BOTTOM: 0px;PADDING-RIGHT: 0px; PADDING-LEFT: 0px;VISIBILITY: hidden;WIDTH: 180px;FONT-FAMILY: Tahoma;POSITION: absolute;}var persistclose = 0var startX = 80var startY = 500var verticalpos = "frombottom"function iecompattest(){return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body}function get_cookie(Name){var search = Name + "="var returnvalue = "";if (document�cookie.length > 0){offset = document�cookie.indexOf(search)if (offset != -1){offset += search.lengthend = document�cookie.indexOf(";", offset);if (end == -1) end = document�cookie.length;returnvalue=unescape(document�cookie.substring(offset, end))}}return returnvalue;}function closebar(){if (persistclose)document�cookie="remainclosed=1"document.getElementById("topbar").style.visibility="hidden"}function staticbar(){barheight=document.getElementById("topbar").offsetHeightvar ns = (navigator.appName.indexOf("Netscape") != -1) || window.opera;var d = document;function ml(id){var el=d.getElementById(id);if (!persistclose || persistclose && get_cookie("remainclosed")=="")el.style.visibility="visible"if(d.layers)el.style=el;el.sP=function(x,y){this.style.right=x+"px";this.style.top=y+"px";};el.x = startX;if (verticalpos=="fromtop")el.y = startY;else{el.y = ns ? pageYOffset + innerHeight : iecompattest().scrollTop + iecompattest().clientHeight;el.y -= startY;}return el;}window.stayTopLeft=function(){if (verticalpos=="fromtop"){var pY = ns ? pageYOffset : iecompattest().scrollTop;ftlObj.y += (pY + startY - ftlObj.y)/8;}else{var pY = ns ? pageYOffset + innerHeight - barheight: iecompattest().scrollTop + iecompattest().clientHeight - barheight;ftlObj.y += (pY - startY - ftlObj.y)/8;}ftlObj.sP(ftlObj.x, ftlObj.y);setTimeout("stayTopLeft()", 10);}ftlObj = ml("topbar");stayTopLeft();}if (window.addEventListener)window.addEventListener("load", staticbar, false)else if (window.attachEvent)window.attachEvent("onload", staticbar)else if (document.getElementById)window.onload=staticbar
- mod_recent_topic thay toàn bộ thành:
th,td,p { font-family: Tahoma,Verdana,Arial,Helvetica,sans-serif } /* Style cho menu tabs */div.TabView div.Tabs{height: 32px; /* chiều cao của tab menu */overflow: hidden;}div.TabView div.Tabs: hover,{height: 32px; /* chiều cao của tab menu */overflow: hidden;}div.TabView div.Tabs a , div.TabView div.Tabs a:hover {float: left;display: block;background-color:#;text-align: center;height: 29px;padding: 6px;vertical-align: middle;border:1px solid #b4d0f3;border-top: 0px;border-left: 0px;border-bottom: 0px; /* đường viền quanh tabs menu */text-decoration: none;font-family: Tahoma;font-size: 11px;color: #000000;}.hotrott{background-color: #ffffff;border: 0px solid #ded7d7;}.nen{background-color: #ffffff;border: 1px solid #ded7d7;}div.TabView div.Tabs a.Active{background-color: #ffffff; /* màu nền tab menu active */color: #000000;border:1px solid #b4d0f3;border-top: 0px;border-left: 0px;border-bottom: 0px; padding: 6px;height: 29px;font-size: 11px;font-weight: bold;}/* Style cho phần text nội dung của mỗi tab */div.TabView {clear: both;border: 0px solid #ffffff;overflow: hidden; /* giá trị là auto nếu muốn hiện scroll bar */}div.TabView div.Pages div.Page{height: 100%;padding: 0px;border: 0px solid #b4d0f3;overflow: hidden; /* giá trị là auto nếu muốn hiện scroll bar */}[url=https://dlthanh.4umer.com/javascript:tabview_switch('TabView', 1);]Bài Viết Mới[/url][You must be registered and logged in to see this link.]
<table align="center" border="0" cellpadding="0" cellspacing="0" width="100%"></table> | <table border="0" cellpadding="0" cellspacing="0" width="100%"><tr valign="top"><td style="border-top: 0px none; padding: 0px; background: url("https://2img.net/h/i1036.photobucket.com/albums/a449/a1tinhgia3/image/list.gif") no-repeat scroll center top transparent; -moz-background-inline-policy: continuous;" width="24"></td><td style="border-top: 0px none; padding: 0px; line-height: 20px; background-repeat: repeat;" align="left" background="https://2img.net/h/i1036.photobucket.com/albums/a449/a1tinhgia3/image/listbg.gif" width="80%">[You must be registered and logged in to see this link.]
</td><td> </td><td style="border-top: 0px none; padding: 2px; line-height: 20px; background-repeat: repeat;" align="right" background="http://vnpet.com/forum/vietvbb/topx/listbg.gif" width="20%">[You must be registered and logged in to see this link.]
</td></tr></table> |
3. ACP>>module>>forum widgets Thiết lập như hình :
[You must be registered and logged in to see this link.]
Chưa xong: Vào của recent_topic : Number of recent topics : ghi 20 Activate the recent topics scrolling : không
Vào của News: Number of news : ghi 20 Board of the news : chọn tên diễn đàn mà cho lên bài viết mới 4. ACP>> color>> css thêm Code:
#text {margin:50px auto; width:500px} .hotspot {color:#900; padding-bottom:1px; border-bottom:1px dotted #900; cursor:pointer} #tt {position:absolute; display:block; background:url(https://2img.net/h/i1036.photobucket.com/albums/a449/a1tinhgia3/tt_left.gif) top left no-repeat} #tttop {display:block; height:5px; margin-left:5px; background:url(https://2img.net/h/i1036.photobucket.com/albums/a449/a1tinhgia3/tt_top.gif) top right no-repeat; overflow:hidden} #ttcont {display:block; padding:2px 12px 3px 7px; margin-left:5px; background:#666; color:#FFF} #ttbot {display:block; height:5px; margin-left:5px; background:url(https://2img.net/h/i1036.photobucket.com/albums/a449/a1tinhgia3/tt_bottom.gif) top right no-repeat; overflow:hidden}
.tabs { margin: 0; padding: 0;} .tabs { padding-bottom: 31px; margin-bottom: 9px; background: #e5effe; border-bottom: 1px solid #b4d0f3; } .tabs li { list-style: none;float: left; line-height: 30px; border-right: 1px solid #b4d0f3; height: 30px; font-size: 11px;} .tabs li.current { background: #FFF; height: 32px; font-weight: bold; } .mainbox { background: #FFF;margin-bottom: 0px; padding: 1px;} .mainbox table { width: 100%; }
[/b]
Ctrl + F tìm "tab mới" thay thành tên diễn đàn mà ban đầu ghi nhớ - nếu ko nhớ đọc lại
-mod_topposter thay =
<table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td style="padding: 0px; background: none repeat scroll 0% 0% rgb(255, 255, 255); -moz-background-inline-policy: continuous;" width="100%"> <table border="0" cellpadding="0" cellspacing="0" width="100%"><tr valign="top"><td style="border-top: 0px none; padding: 0px; background: url("https://2img.net/h/i1036.photobucket.com/albums/a449/a1tinhgia3/image/list.gif") no-repeat scroll center top transparent; -moz-background-inline-policy: continuous;" width="24" height="200"></td><td style="border-top: 0px none; padding: 0px; line-height: 20px; background-repeat: repeat;" align="left" background="https://2img.net/h/i1036.photobucket.com/albums/a449/a1tinhgia3/image/listbg.gif"> {POSTER.NAME} </td></tr></table> </td></tr></table> | |
| | | | |
Hãy cảmơn bài viết của Admin bằng cách bấm vào "" nhé!!! |
| | | [Tiêu đề] | Lasttopic version2 | |
|
Trang 1 trong tổng số 1 trang | | .::Host up ảnh miểnphí: Clickhere! - Hướng dẩn sử dụng Diễn đàn:Clickhere!::.
| Permissions in this forum: | Bạn không có quyền trả lời bài viết
| |
| |
| |