Copy ®o¹n code sau vµo cét chøc n¨ng:.. #888;width:112px;padding-top:1px;padding-bottom:1px;align:center;text-.[r]
Trang 1<DIV id="divAdLeft" style="WIDTH: 110px; POSITION: absolute; TOP: 71px"> <table cellpadding="0" cellspacing="0" c lass="moduletable">
<tr>
<td>
<p>
<object width="124" height="361"><param name="movie" value="http://tranphuongtrang.webng.com/phuong1/QCAO.swf? wid=183"/><param name="allowScriptAccess" value="sameDomain"/><embed src="http://tranphuongtrang.webng.com/phuong 1/QCAO.swf?wid=183" width="124" height="361" type="application/x-shockwave-flash" allowScriptAccess="sameDomain">< /embed></object></p> </td>
</tr>
</table>
</DIV>
<DIV id="divAdRight" style="WIDTH: 110px; POSITION: absolute; TOP: 71px"> <table cellpadding="0" cellspacing="0" class="moduletable">
<tr>
<td>
<p align="center"><object width="124" height="361"><param name="movie" value=" http://tranphuongtrang.webng.c om/phuong1/QCAO.swf?wid=183"/><param name="allowScriptAccess" value="sameDomain"/><embed src=
"http://tranphuongtrang.webng.com/phuong1/QCAO.swf?wid=183" width="124" height="361" type="application/x-shockwave-flash" allowScriptAccess="sameDomain"></embed></object>
</p> </td>
</tr>
</table>
</DIV>
<SCRIPT language=JavaScript>
window.onresize=ShowAdDiv;
function FloatTopDiv()
{
var ns = (navigator.appName.indexOf("Netscape") != -1);
if(!ns)
{
startLX = ((document.body.clientWidth -1230)/2) + 110 , startLY = 62;
//startRX = ((document.body.clientWidth -770)/2) + 770 +2 , startRY = 62;
startRX = ((document.body.clientWidth)/2) + 390 , startRY = 62;
}
else
{
startLX = ((document.body.clientWidth -1230)/2) + 95 , startLY = 62;
startRX = ((document.body.clientWidth -770)/2) + 780 , startRY = 62;
}
var d = document;
function ml(id)
{
var el=d.getElementById?d.getElementById(id):d.all?d.all[id]:d.layers[id];
el.sP=function(x,y){this.style.left=x;this.style.top=y;};
el.x = startRX;
el.y = startRY;
Trang 2return el;
}
function m2(id)
{
var e2=d.getElementById?d.getElementById(id):d.all?d.all[id]:d.layers[id];
e2.sP=function(x,y){this.style.left=x;this.style.top=y;};
e2.x = startLX;
e2.y = startLY;
return e2;
}
window.stayTopLeft=function()
{
if (document.documentElement && document.documentElement.scrollTop)
var pY = document.documentElement.scrollTop;
else if (document.body)
var pY = document.body.scrollTop;
if (document.body.scrollTop > 30){startLY = 3;startRY = 3;} else {startLY = 62;startRY = 62;}; ftlObj.y += (pY+startRY-ftlObj.y)/16;
ftlObj.sP(ftlObj.x, ftlObj.y);
ftlObj2.y += (pY+startLY-ftlObj2.y)/16;
ftlObj2.sP(ftlObj2.x, ftlObj2.y);
setTimeout("stayTopLeft()", 1);
}
ftlObj = ml("divAdRight");
//stayTopLeft();
ftlObj2 = m2("divAdLeft");
stayTopLeft();
}
function ShowAdDiv()
{
var objAdDivRight = document.getElementById("divAdRight");
var objAdDivLeft = document.getElementById("divAdLeft");
if (document.body.clientWidth < 980)
{
objAdDivRight.style.display = "none";
objAdDivLeft.style.display = "none";
}
else
{
objAdDivRight.style.display = "block";
objAdDivLeft.style.display = "block";
FloatTopDiv();
}
}
ShowAdDiv();
</SCRIPT>
Code " Tû gi¸ ngo¹i tÖ"
Nhh×nh díi ®©y:
Trang 3Copy ®o¹n code sau vµo cét chøc n¨ng:
<div style=
"width:150px; background-color: #c3e44f;border:2px solid #888;text-align:center">
<div style=
"background-color:#a0c030;border:1px solid #888;width:112px;padding-top:1px;padding-bottom:1px;align:center;text-align:center;">
<a class="Vlabel" style=
"font-size:12px; line-height:16px;font-family: arial;text-decoration:none;color:#000000;margin-bottom:6px"
href="http://fx-rate.net/">Currency Converter</a></div>
<script type="text/javascript" src=
"http://fx-rate.net/convert.php?size=medium">
</script></div>
Chóc c¸c b¹n thµnh c«ng!