Hướng dẫn: Thay liên kết ảnh được tô ĐỎ bên dưới.
Thay liên kết mở trang được tô XANH DA TRỜI bên dưới và kích thước khung được tô XANH LÁ
Thay liên kết mở trang được tô XANH DA TRỜI bên dưới và kích thước khung được tô XANH LÁ
<div id="divAdRight" style="display: none; position: absolute; top: 0px">
<a href="http://nl-bloggervn.blogspot.com/2012/10/anh-ep-boy-xinh-kich-thuoc-240x320.html"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHWJVtK8aAPd7SYdud7nhY3fljZsjtnMKE6JvOCnmJ6TP_Y12GPyWsB3V9QeTYqCGMn1U0XC4tP2HFfnWQTXX1TO0IC43QCfF4GMStHJ1DPfsIuZGu5m2fJUzjT9pgTmsLR8jd2qJya7c/s800/nL-Mus%2520%25282%2529.jpg" width="125" /></a>
</div>
<div id="divAdLeft" style="display: none; position: absolute; top: 0px">
<a href="http://nl-bloggervn.blogspot.com/2012/10/anh-ep-girl-xinh-kich-thuoc-240x320.html"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEidLBpMSMJQTXPzqPlREr2TXhx1zkEumOyMpSZXRmoa1OkTXH26Z7k6l1B40SAZM1mtDNrerzewWqUR8m45nIg8nLL2b8morjDOhyphenhyphen3wjosdMGh5HV-nyAOGdfX98r7CZQdAlROCBE0V46Y/s800/nL-Mus%2520240x360.gif" width="125" /></a>
</div>
<script>
function FloatTopDiv()
{
startLX = ((document.body.clientWidth -MainContentW)/2)-LeftBannerW-LeftAdjust , startLY = TopAdjust+80;
startRX = ((document.body.clientWidth -MainContentW)/2)+MainContentW+RightAdjust , startRY = TopAdjust+80;
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 + 'px';this.style.top=y + 'px';};
el.x = startRX;
el.y = startRY;
return 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 + 'px';this.style.top=y + 'px';};
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 = TopAdjust;startRY = TopAdjust;};
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 < 1000)
{
objAdDivRight.style.display = "none";
objAdDivLeft.style.display = "none";
}
else
{
objAdDivRight.style.display = "block";
objAdDivLeft.style.display = "block";
FloatTopDiv();
}
}
</script>
<script>
document.write("<script type='text/javascript' language='javascript'>MainContentW = 1000;LeftBannerW = 125;RightBannerW = 125;LeftAdjust = 5;RightAdjust = 5;TopAdjust = 10;ShowAdDiv();window.onresize=ShowAdDiv;;<\/script>");
</script>
<a href="http://nl-bloggervn.blogspot.com/2012/10/anh-ep-boy-xinh-kich-thuoc-240x320.html"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHWJVtK8aAPd7SYdud7nhY3fljZsjtnMKE6JvOCnmJ6TP_Y12GPyWsB3V9QeTYqCGMn1U0XC4tP2HFfnWQTXX1TO0IC43QCfF4GMStHJ1DPfsIuZGu5m2fJUzjT9pgTmsLR8jd2qJya7c/s800/nL-Mus%2520%25282%2529.jpg" width="125" /></a>
</div>
<div id="divAdLeft" style="display: none; position: absolute; top: 0px">
<a href="http://nl-bloggervn.blogspot.com/2012/10/anh-ep-girl-xinh-kich-thuoc-240x320.html"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEidLBpMSMJQTXPzqPlREr2TXhx1zkEumOyMpSZXRmoa1OkTXH26Z7k6l1B40SAZM1mtDNrerzewWqUR8m45nIg8nLL2b8morjDOhyphenhyphen3wjosdMGh5HV-nyAOGdfX98r7CZQdAlROCBE0V46Y/s800/nL-Mus%2520240x360.gif" width="125" /></a>
</div>
<script>
function FloatTopDiv()
{
startLX = ((document.body.clientWidth -MainContentW)/2)-LeftBannerW-LeftAdjust , startLY = TopAdjust+80;
startRX = ((document.body.clientWidth -MainContentW)/2)+MainContentW+RightAdjust , startRY = TopAdjust+80;
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 + 'px';this.style.top=y + 'px';};
el.x = startRX;
el.y = startRY;
return 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 + 'px';this.style.top=y + 'px';};
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 = TopAdjust;startRY = TopAdjust;};
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 < 1000)
{
objAdDivRight.style.display = "none";
objAdDivLeft.style.display = "none";
}
else
{
objAdDivRight.style.display = "block";
objAdDivLeft.style.display = "block";
FloatTopDiv();
}
}
</script>
<script>
document.write("<script type='text/javascript' language='javascript'>MainContentW = 1000;LeftBannerW = 125;RightBannerW = 125;LeftAdjust = 5;RightAdjust = 5;TopAdjust = 10;ShowAdDiv();window.onresize=ShowAdDiv;;<\/script>");
</script>
Không có nhận xét nào:
Đăng nhận xét