đợi xem có lỗi không đã
Được sửa bởi Mr.Key ngày Sat Nov 20, 2010 3:42 pm; sửa lần 1. (Reason for editing : sửa lại)
Code:
#cboxOverlay,#cboxWrapper,#colorbox{left:0;overflow:hidden;position:absolute;top:0;z-index:999}#cboxOverlay{background:url(http://s1211.photobucket.com/albums/cc433/baivong/cfviet/overla11.png) 0 0 repeat;height:100%;position:fixed;width:100%}#cboxBottomLeft,#cboxMiddleLeft{clear:left}#cboxContent{background:#fff;overflow:hidden;position:relative}#cboxLoadedContent{margin-bottom:28px;overflow:auto}#cboxLoadedContent iframe{border:0;display:block;height:100%;width:100%}#cboxTitle{bottom:4px;color:#949494;left:0;margin:0;position:absolute;text-align:center;width:100%}#cboxLoadingGraphic,#cboxLoadingOverlay{left:0;position:absolute;top:0;width:100%}#cboxClose,#cboxNext,#cboxPrevious,#cboxSlideshow{cursor:pointer}#cboxTopLeft{background:url(http://s1211.photobucket.com/albums/cc433/baivong/cfviet/contro11.png) -100px 0 no-repeat;height:21px;width:21px}#cboxTopRight{background:url(http://s1211.photobucket.com/albums/cc433/baivong/cfviet/contro11.png) -129px 0 no-repeat;height:21px;width:21px}#cboxBottomLeft{background:url(http://s1211.photobucket.com/albums/cc433/baivong/cfviet/contro11.png) -100px -29px no-repeat;height:21px;width:21px}#cboxBottomRight{background:url(http://s1211.photobucket.com/albums/cc433/baivong/cfviet/contro11.png) -129px -29px no-repeat;height:21px;width:21px}#cboxMiddleLeft{background:url(http://s1211.photobucket.com/albums/cc433/baivong/cfviet/contro11.png) left top repeat-y;width:21px}#cboxMiddleRight{background:url(http://s1211.photobucket.com/albums/cc433/baivong/cfviet/contro11.png) right top repeat-y;width:21px}#cboxTopCenter{background:url(http://s1211.photobucket.com/albums/cc433/baivong/cfviet/border19.png) 0 0 repeat-x;height:21px}#cboxBottomCenter{background:url(http://s1211.photobucket.com/albums/cc433/baivong/cfviet/border19.png) 0 -29px repeat-x;height:21px}#cboxCurrent{bottom:4px;color:#949494;left:58px;position:absolute}#cboxSlideshow{bottom:4px;color:#0092ef;position:absolute;right:30px}#cboxPrevious{background:url(http://s1211.photobucket.com/albums/cc433/baivong/cfviet/contro11.png) -75px 0 no-repeat;bottom:0;height:25px;left:0;position:absolute;text-indent:-9999px;width:25px}#cboxPrevious.hover{background-position:-75px -25px}#cboxNext{background:url(http://s1211.photobucket.com/albums/cc433/baivong/cfviet/contro11.png) -50px 0 no-repeat;bottom:0;height:25px;left:27px;position:absolute;text-indent:-9999px;width:25px}#cboxNext.hover{background-position:-50px -25px}#cboxLoadingOverlay{background:url(http://s1211.photobucket.com/albums/cc433/baivong/cfviet/loadin11.png) center center no-repeat}#cboxLoadingGraphic{background:url(http://s1211.photobucket.com/albums/cc433/baivong/cfviet/loadin11.gif) center center no-repeat}#cboxClose{background:url(http://s1211.photobucket.com/albums/cc433/baivong/cfviet/contro11.png) -25px 0 no-repeat;bottom:0;height:25px;position:absolute;right:0;text-indent:-9999px;width:25px}#cboxClose.hover{background-position:-25px -25px}.cboxIE #cboxTopLeft{background:transparent;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=http://s1211.photobucket.com/albums/cc433/baivong/cfviet/border26.png,sizingMethod='scale')}.cboxIE #cboxTopCenter{background:transparent;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=http://s1211.photobucket.com/albums/cc433/baivong/cfviet/border25.png,sizingMethod='scale')}.cboxIE #cboxTopRight{background:transparent;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=http://s1211.photobucket.com/albums/cc433/baivong/cfviet/border27.png,sizingMethod='scale')}.cboxIE #cboxBottomLeft{background:transparent;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=http://s1211.photobucket.com/albums/cc433/baivong/cfviet/border21.png,sizingMethod='scale')}.cboxIE #cboxBottomCenter{background:transparent;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=http://s1211.photobucket.com/albums/cc433/baivong/cfviet/border20.png,sizingMethod='scale')}.cboxIE #cboxBottomRight{background:transparent;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=http://s1211.photobucket.com/albums/cc433/baivong/cfviet/border22.png,sizingMethod='scale')}.cboxIE #cboxMiddleLeft{background:transparent;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=http://s1211.photobucket.com/albums/cc433/baivong/cfviet/border23.png,sizingMethod='scale')}.cboxIE #cboxMiddleRight{background:transparent;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=http://s1211.photobucket.com/albums/cc433/baivong/cfviet/border24.png,sizingMethod='scale')}@media print{body{background-color:#fff;background-image:none;color:#000}table.bodylinewidth span.maintitle{display:block;text-align:left}#info_open,.browse-arrows,.messaging,.noprint,.post-options,.poster-profile,img.i_icon_online,span.postdetails img,table.bodylinewidth .catbottom,table.bodylinewidth .gensmall,table.bodylinewidth .mainmenu,table.bodylinewidth .nav,table.bodylinewidth .sig,table.bodylinewidth img#i_logo{display:none}.t-title,td.catHead{text-align:left}table.bodylinewidth .cattitle{font-size:1em;letter-spacing:normal}.thLeft,.thRight{border:none;color:#000;text-align:left}.hr hr{visibility:hidden}.hr{border-top:1px dotted #ddd!important}tr.post td{border-bottom:1px solid #ccc;vertical-align:top}tr.post td td{border:none}span.gen{display:none}}
Code:
</td></tr></table></td>
<td style="width: 0px"></td>
<td valign="top" style="border: 1px solid #9DB3C5; padding: 1px">
<style type="text/css">
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 */}</style><script type="text/javascript" src="http://tinhgia3sv.fileave.com/Tabview.js"></script><div id="TabView" class="TabView" style="padding: 0px;"><!--
tabs --><div width="100%" class="Tabs"><a class="Active" href="javascript:tabview_switch('TabView', 1);">Bài Viết Mới</a><a>Thống kê</a><a>Báo Mới</a></a><a>Hướng dẫn</a><ul class="tabs" id="vietvbb_topstats_t"> <li style="border-right: 0px; display: none;" id="vietvbb_topstats_t_loading"></li> </ul> </div><!--
n&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;#7897;i dung tabs --><div style="height:410px; width:100%" class="Pages"><div class="Page" style="padding-top: 8px;"><!-- BEGIN classical_row -->
<table class="" style="border-bottom-width: 0px;" align="center" border="0" cellpadding="0" cellspacing="0" width="100%"><tbody><tr>
<td>
<table align="center" border="0" cellpadding="0" cellspacing="0" width="100%">
<tbody>
</table></td></tr></tbody>
<tbody>
<tr><td style="padding: 0px; background: rgb(255, 255, 255) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -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: transparent url(http://s1043.photobucket.com/albums/b431/paladin_1812/forum/list.gif) no-repeat scroll center top; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;" width="24"><img src="http://2img.net/i/fa/empty.gif" width="24" border="0"></td>
<td style="border-top: 0px none; padding: 0px; line-height: 20px; background-repeat: repeat;" align="left" background="http://i1036.photobucket.com/albums/a449/a1tinhgia3/image/listbg.gif"><!-- BEGIN recent_topic_row --><!-- BEGIN switch_poster --><div class="ln41btd"><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr valign="top"><td style="height: 20px" width="74%"><a onmouseover="showtip('<b>Tiêu đề: <font color=#FF66FF>{classical_row.recent_topic_row.L_TITLE}</font></b><br> <b>Thời gian:
<font color=#00FF99>{classical_row.recent_topic_row.S_POSTTIME}</font></b>');" onmouseout="hidetip();" href="{classical_row.recent_topic_row.U_TITLE}"><b><font style="font-family: Tahoma; font-size: 11px">{classical_row.recent_topic_row.L_TITLE}</font></b></a></td><td style="height: 20px" width="26%" align="right"><a href="{classical_row.recent_topic_row.switch_poster.U_POSTER}"><font style="font-family: Tahoma; font-size: 11px">{classical_row.recent_topic_row.switch_poster.S_POSTER}</a></td></tr></table></div><!-- END switch_poster --><!-- END recent_topic_row --></td>
</tr></table></td></tr></tbody></table>
<!-- END classical_row -->
</div><script type="text/javascript">$(function(){$("div.ln41btd:contains('♥')").empty();})</script><div class="Page" style="padding: 0px; height: 304px; display: block;"><table class="" style="border-bottom-width: 0px;" align="center" border="0" cellpadding="0" cellspacing="0" width="100%"><tbody><tr>
<td>
<table align="center" border="0" cellpadding="0" cellspacing="0" width="100%">
<tbody>
</table></td></tr></tbody>
<tbody>
<tr><td style="padding: 0px; background: rgb(255, 255, 255) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -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: transparent url(http://i832.photobucket.com/albums/zz244/a1tg3/list.gif) no-repeat scroll center top; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;" width="24"><img src="http://2img.net/i/fa/empty.gif" width="24" border="0"></td><td style="border-top: 0px none; padding: 0px; line-height: 20px; background-repeat: repeat;" align="left" background="http://i832.photobucket.com/albums/zz244/a1tg3/listbg.gif">
<A href=http://lamnghiep41b.tk/search.forum?search_id=activetopics><span><font style="font-family: Tahoma; font-size: 11px">Bài viết trong ngày</span></a><br>
<A href=http://lamnghiep41b.tk/stats.htm#10><span><font style="font-family: Tahoma; font-size: 11px">Các bài viết trong tháng</span></a><br>
<A href=http://lamnghiep41b.tk/stats.htm#2><span><font style="font-family: Tahoma; font-size: 11px">Thống kê tổng thể</span></a><br>
<A href=http://lamnghiep41b.tk/stats.htm#3><span><font style="font-family: Tahoma; font-size: 11px">Topic sôi nổi nhất</span></a><br>
<A href=http://lamnghiep41b.tk/stats.htm#4><span><font style="font-family: Tahoma; font-size: 11px">Topic xem nhiều nhất</span></a><br>
<A href=http://lamnghiep41b.tk/stats.htm#5><span><font style="font-family: Tahoma; font-size: 11px">Thành viên có nhiều chủ đề nhất</span></a><br>
<A href=http://lamnghiep41b.tk/stats.htm#6><span><font style="font-family: Tahoma; font-size: 11px">Thành viên post bài nhiều nhất trong 1 tuần</span></a><br>
<A href=http://lamnghiep41b.tk/stats.htm#7><span><font style="font-family: Tahoma; font-size: 11px">Thành viên post bài nhiều nhất trong tháng</span></a><br>
<A href=http://lamnghiep41b.tk/stats.htm#8><span><font style="font-family: Tahoma; font-size: 11px">Top poster</span></a><br>
<A href=http://lamnghiep41b.tk/stats.htm#9><span><font style="font-family: Tahoma; font-size: 11px">Số topic trong tháng</span></a><br>
</td></tr></table></td></tr></tbody></table>
</div><div class="Page">
<center>
<script type="text/javascript">
epi_id = 'epi-widget-container';
epi_width = 'auto';
epi_height = 'auto';
epi_theme = 'widgetDisplayThemeBlack';
epi_border = 1;
</script>
<script type="text/javascript" src="http://www.baomoi.com/Widget/JS/Widget.js"></script>
<script type="text/javascript" src="http://www.baomoi.com/Widget/GenerateJS.aspx?zone=-1&count=10&ntype=mostrecent&dtype=1&target=0"></script>
</center>
</div> <div class="Page" style="padding: 0px; height: 304px; display: block;">
<table class="" style="border-bottom-width: 0px;" align="center" border="0" cellpadding="0" cellspacing="0" width="100%" id="table7"><tbody><tr>
<td style="font-family: Tahoma,Verdana,Arial,Helvetica,sans-serif">
<table align="center" border="0" cellpadding="0" cellspacing="0" width="100%" id="table8">
<tbody>
</table></td></tr></tbody>
<tbody>
<tr><td style="padding: 0px; background: rgb(255, 255, 255); -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; font-family:Tahoma,Verdana,Arial,Helvetica,sans-serif" width="100%">
<table border="0" cellpadding="0" cellspacing="0" width="100%" id="table9"><tr valign="top">
<td style="border-top: 0px none; padding: 0px; background: url('http://i832.photobucket.com/albums/zz244/a1tg3/list.gif') no-repeat center top; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; font-family:Tahoma,Verdana,Arial,Helvetica,sans-serif" width="24"><img src="http://2img.net/i/fa/empty.gif" width="24" border="0"></td>
<td style="border-top: 0px none; padding: 0px; line-height: 20px; background-repeat: repeat; font-family:Tahoma,Verdana,Arial,Helvetica,sans-serif" align="left" background="http://i832.photobucket.com/albums/zz244/a1tg3/listbg.gif">
<font face="Tahoma">
<a href="http://www.lamnghiep41b.tk/forum-f9/topic-t211.htm">
<span style="font-size: 9pt; text-decoration: none">
<IMG src="http://hitskin.com/themes/14/33/12/i_icon_latest_reply.gif" width="12" height="11"></span><strong style="font-weight: 400"><span style="text-decoration: none"><span style="font-size: 9pt">Hướng dẫn cơ bản cho
thành viên mới</span></span></strong></a></font><font style="font-family: Tahoma; font-size: 11px"><br>
</font><font face="Tahoma">
<a href="http://www.lamnghiep41b.tk/forum-f9/topic-t211.htm">
<span style="font-size: 9pt; text-decoration: none">
<IMG src="http://hitskin.com/themes/14/33/12/i_icon_latest_reply.gif" width="12" height="11"></span></a></font><font face="Tahoma" style="font-size: 9pt"><a href="http://www.lamnghiep41b.tk/forum-f9/topic-t9.htm"><span style="text-decoration: none">
<strong style="font-weight: 400">Đăng kí vào diễn đàn</strong>
</span>
</a>
</font><font style="font-family: Tahoma; font-size: 11px"><br>
</font><font face="Tahoma">
<a href="http://www.lamnghiep41b.tk/forum-f9/topic-t211.htm">
<span style="font-size: 9pt; text-decoration: none">
<IMG src="http://hitskin.com/themes/14/33/12/i_icon_latest_reply.gif" width="12" height="11"></span></a></font><font face="Tahoma" style="font-size: 9pt"><a href="http://www.lamnghiep41b.tk/forum-f9/topic-t212.htm#430"><span style="text-decoration: none">
<strong style="font-weight: 400">Hướng dẫn chỉnh sửa avatar và chữ kí</strong>
</span>
</a>
</font><font style="font-family: Tahoma; font-size: 11px"><br>
</font><font face="Tahoma">
<a href="http://www.lamnghiep41b.tk/forum-f9/topic-t211.htm">
<span style="font-size: 9pt; text-decoration: none">
<IMG src="http://hitskin.com/themes/14/33/12/i_icon_latest_reply.gif" width="12" height="11"></span></a></font><font face="Tahoma" style="font-size: 9pt"><a href="http://www.lamnghiep41b.tk/forum-f9/topic-t213.htm#431"><span style="text-decoration: none">
<strong style="font-weight: 400">Cách gõ tiếng việt trong diễn đàn</strong>
</span>
</a>
</font><font style="font-family: Tahoma; font-size: 11px"><br>
</font><font face="Tahoma">
<a href="http://www.lamnghiep41b.tk/forum-f9/topic-t211.htm">
<span style="font-size: 9pt; text-decoration: none">
<IMG src="http://hitskin.com/themes/14/33/12/i_icon_latest_reply.gif" width="12" height="11"></span></a></font><font face="Tahoma" style="font-size: 9pt"><a href="http://www.lamnghiep41b.tk/forum-f9/topic-t214.htm#432"><span style="text-decoration: none">
<strong style="font-weight: 400">Hướng dẫn BBcode</strong>
</span>
</a>
</font><font style="font-family: Tahoma; font-size: 11px"><br>
</font><font face="Tahoma">
<a href="http://www.lamnghiep41b.tk/forum-f9/topic-t211.htm">
<span style="font-size: 9pt; text-decoration: none">
<IMG src="http://hitskin.com/themes/14/33/12/i_icon_latest_reply.gif" width="12" height="11"></span></a></font><font face="Tahoma" style="font-size: 9pt"><a href="http://www.lamnghiep41b.tk/forum-f9/topic-t215.htm#433"><span style="text-decoration: none"><strong style="font-weight: 400">Hướng dẫn cách post bài(bài viết mới)</strong>
</span>
</a>
</font><font style="font-family: Tahoma; font-size: 11px"><br>
</font><font face="Tahoma">
<a href="http://www.lamnghiep41b.tk/forum-f9/topic-t211.htm">
<span style="font-size: 9pt; text-decoration: none">
<IMG src="http://hitskin.com/themes/14/33/12/i_icon_latest_reply.gif" width="12" height="11"></span></a></font><font face="Tahoma" style="font-size: 9pt"><a href="http://www.lamnghiep41b.tk/forum-f9/topic-t218.htm#436"><span style="text-decoration: none">
</span> <strong style="font-weight: 400"><span style="text-decoration: none">Cách Post Phim,video lên Forum</span></strong></a></font><font style="font-family: Tahoma; font-size: 11px"><br>
</font><font face="Tahoma">
<a href="http://www.lamnghiep41b.tk/forum-f9/topic-t211.htm">
<span style="font-size: 9pt; text-decoration: none">
<IMG src="http://hitskin.com/themes/14/33/12/i_icon_latest_reply.gif" width="12" height="11"></span></a></font><font face="Tahoma" style="font-size: 9pt"><a href="http://www.lamnghiep41b.tk/forum-f9/topic-t216.htm#434"><span style="text-decoration: none"><strong style="font-weight: 400">Cách post hình</strong>
</span>
</a>
</font><font style="font-family: Tahoma; font-size: 11px"><br>
</font><font face="Tahoma">
<a href="http://www.lamnghiep41b.tk/forum-f9/topic-t211.htm">
<span style="font-size: 9pt; text-decoration: none">
<IMG src="http://hitskin.com/themes/14/33/12/i_icon_latest_reply.gif" width="12" height="11"></span></a></font><font face="Tahoma" style="font-size: 9pt"><a href="http://www.lamnghiep41b.tk/forum-f9/topic-t217.htm#435"><span style="text-decoration: none">
<strong style="font-weight: 400">cách post nhạc</strong>
</span>
</a>
</font><font style="font-family: Tahoma; font-size: 11px"><br>
<br>
</td></tr></table></td></tr></tbody></table>
</div> <script type="text/javascript">tabview_initialize('TabView');</script><ScrollTop --><style type="text/css">#topbar{ PADDING-TOP: 0px;PADDING-BOTTOM: 0px;PADDING-RIGHT: 0px; PADDING-LEFT: 0px;VISIBILITY: hidden;WIDTH: 180px;FONT-FAMILY: Tahoma;POSITION: absolute;}</style><script type="text/javascript">var persistclose = 0<!--
V&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;#7883; trí-->var 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</script></div> </td>
Code:
var offsetfromcursorX = 12;
var offsetfromcursorY = 10;
var offsetdivfrompointerX = 10;
var offsetdivfrompointerY = 15;
document.write('<div id="dhtmltooltip"></div>');
document.write('<img id="dhtmlpointer" src="http://i816.photobucket.com/albums/zz89/phphap1411/skin%20trung%20thu/tooltiparrow.gif">');
var ie = document.all;
var ns6 = document.getElementById && ! document.all;
var enabletip = false;
var tipobj = document.getElementById("dhtmltooltip");
var pointerobj = document.getElementById("dhtmlpointer");
function ietruebody() {
return (document.compatMode && document.compatMode != "BackCompat") ? document.documentElement : document.body;
}
String.prototype.trim = function () {
return this.replace(/^\s*/, "").replace(/\s*$/, "");
}
function showtip(thetext, thewidth, thecolor) {
if (ns6 || ie) {
if (typeof thewidth != "undefined")
tipobj.style.width = thewidth + "px";
if (typeof thecolor != "undefined" && thecolor != "")
tipobj.style.backgroundColor = thecolor;
thetext = thetext.trim();
var arr = thetext.split(" ");
for(i=0;i<arr.length;i++)
if(arr[i].length>=40)
thetext=thetext.replace(arr[i],arr[i].substr(0,40)+"...");
tipobj.innerHTML = thetext;
enabletip = true;
return false;
}
}
function positiontip(e) {
if (enabletip) {
var nondefaultpos = false;
var curX = (ns6) ? e.pageX : event.clientX + ietruebody().scrollLeft;
var curY = (ns6) ? e.pageY : event.clientY + ietruebody().scrollTop;
var winwidth = ie && ! window.opera ? ietruebody().clientWidth : window.innerWidth - 20;
var winheight = ie && ! window.opera ? ietruebody().clientHeight : window.innerHeight - 20;
var rightedge = ie && ! window.opera ? winwidth - event.clientX - offsetfromcursorX : winwidth - e.clientX - offsetfromcursorX;
var bottomedge = ie && ! window.opera ? winheight - event.clientY - offsetfromcursorY : winheight - e.clientY - offsetfromcursorY;
var leftedge = (offsetfromcursorX < 0) ? offsetfromcursorX * (- 1) : - 1000;
if (rightedge < tipobj.offsetWidth) {
tipobj.style.left = curX - tipobj.offsetWidth + "px";
nondefaultpos = true;
}
else if (curX < leftedge)
tipobj.style.left = "5px";
else {
tipobj.style.left = curX + offsetfromcursorX - offsetdivfrompointerX + "px";
pointerobj.style.left = curX + offsetfromcursorX + "px";
}
if (bottomedge < tipobj.offsetHeight) {
tipobj.style.top = curY - tipobj.offsetHeight - offsetfromcursorY + "px";
nondefaultpos = true;
}
else {
tipobj.style.top = curY + offsetfromcursorY + offsetdivfrompointerY + "px";
pointerobj.style.top = curY + offsetfromcursorY + "px";
}
tipobj.style.visibility = "visible";
if (! nondefaultpos)
pointerobj.style.visibility = "visible";
else
pointerobj.style.visibility = "hidden";
}
}
function hidetip() {
if (ns6 || ie) {
enabletip = false;
tipobj.style.visibility = "hidden";
pointerobj.style.visibility = "hidden";
tipobj.style.left = "-1000px";
tipobj.style.backgroundColor = '';
tipobj.style.width = '';
}
}
document.onmousemove = positiontip;
$(function(){
$(".c3luvmes").colorbox({width:"50%", inline:true, href:"#c3_luvmes"});
$("[style$='(34, 201, 154);'],[style*='#22c99a'],[style*='#22C99A']").addClass('c3vip');
$("[style$='(54, 194, 46);'],[style*='#36c22e'],[style*='#36C22E']").addClass('c3tm');
$("[style$='(0, 0, 0);'],[style*='#000000']").addClass('c3bn');
$("[style$='(131, 27, 191);'],[style*='#831bbf'],[style*='#831BBF']").addClass('c3ad');
$("[style$='(0, 51, 255);'],[style*='#0033ff'],[style*='#0033FF']").addClass('c3dn');
$("[style$='(236, 109, 37);'],[style*='#ec6d25'],[style*='#EC6d25']").addClass('c3lop');
$("div.c3zonee:contains('»')").empty();
$(".vbmenu_control2 a:first-child").html("<a href=/forum.htm>Diá»…n Ä‘Ã n</a>");
$.get('/profile.forum?mode=editprofile&page_profil=friendsfoes', function(data) {
c3moi= $('.forumline:eq(2) .row2', data).html();c3ban= $('.forumline:eq(0) .row2', data).html();
$('#c3zfriend').html(c3moi);$('#c3zfriends').html(c3ban);
var i = 0, ii = 0;
$('.forumline:eq(2) .row2 .friends-foes-list',data).each(function(index){i++;});
$('#c3dem').text($('#c3dem').text()+i+" ");
$('.forumline:eq(0) .row2 .friends-foes-list',data).each(function(index){ii++;});
$('#nban').text($('#nban').text()+ii+" ");
});
})
Code:
<script type='text/javascript' src='Link HTML'></script>