welcome sinh k7
Bạn có muốn phản ứng với tin nhắn này? Vui lòng đăng ký diễn đàn trong một vài cú nhấp chuột hoặc đăng nhập để tiếp tục.



 
Trang ChínhCode quảng cáo trượt hai bên web-4rum (đã kiểm tra)  EmptyGalleryTìm kiếmLatest imagesĐăng kýĐăng Nhập

 

 Code quảng cáo trượt hai bên web-4rum (đã kiểm tra)

Go down 
Tác giảThông điệp
vip_boy_lalo
Admin
Admin
vip_boy_lalo


Tổng số bài gửi : 73
Points : 243
Reputation : 0
Join date : 08/06/2010
Age : 37
Đến từ : Hà Quảng - Cao Bằng

Code quảng cáo trượt hai bên web-4rum (đã kiểm tra)  Empty
Bài gửiTiêu đề: Code quảng cáo trượt hai bên web-4rum (đã kiểm tra)    Code quảng cáo trượt hai bên web-4rum (đã kiểm tra)  I_icon_minitimeWed 15 Dec 2010, 12:36 pm

Hôm nay mạc hưng xin gửi đến các bạn đoạn code quảng cáo hy làm gì cũng được. chạy dọc hai bên web – 4rum. code này sinhk7 đã sử dụa.tkng thử bên phpbb (diễn đàn). chạy rất tốt. các bạn coppy đọc code sau và chỉnh sửa lại link và ảnh (chữ màu
đỏ)và paste vào “overall_footer.html” cuối cùng các bạn ra trang chủ chiêm ngưỡng thành quả của mình nhá

Code:
bên trái

<div id=”divTopLeft” style=”position: absolute; left: 10px; top: 15px; height: 478px;”>
<a href=”http://thuthuatso.com/” title=”Thuthuatso.com”><img src=”http://farm4.static.flickr.com/3316/4574323818_cc74475901_o.gif” width=”100″ height=”100″ alt=”1″ /></a></div>
bên phải
<div id=”divTopRight” style=”position: absolute”>

<a href=”http://thuthuatso.com/” title=”Thuthuatso.com”><img src=”http://farm4.static.flickr.com/3316/4574323818_cc74475901_o.gif” width=”100″ height=”100″ alt=”1″ /></a></div>

Nội dung File JavaScript

<script type=”text/javascript”>

var copyright = ‘kgt’;

var ns = (navigator.appName.indexOf(“Netscape”) != -1);

var d = document;

var px = document.layers ? “” : “px”;

function KGT_FloatDiv(id, sx, sy,cc)

{

var el=d.getElementById?d.getElementById(id):d.all?d.all[id]:d.layers[id];

window[id + "_obj"] = el;

if(d.layers)el.style=el;

el.cx = el.sx = sx;el.cy = el.sy = sy;

el.sP=function(x,y){this.style.left=x+px;this.style.top=y+px;};

el.init=false;

el.flt=function()

{

var pX, pY;

pX = (this.sx >= 0) ? 0 : ns ? innerWidth :

document.documentElement && document.documentElement.clientWidth ?

document.documentElement.clientWidth : document.body.clientWidth;

pY = ns ? pageYOffset : document.documentElement && document.documentElement.scrollTop ?

document.documentElement.scrollTop : document.body.scrollTop;

if(this.sy<0)

pY += ns ? innerHeight : document.documentElement && document.documentElement.clientHeight ?

document.documentElement.clientHeight : document.body.clientHeight;

this.cx += (pX + this.sx – this.cx)/8;this.cy += (pY + this.sy – this.cy)/8;

if(!this.init)

{

this.init=true;

this.cx = pX+this.sx;

this.cy = pY+this.sy;

}

this.sP(this.cx, this.cy);

setTimeout(this.id + “_obj.flt()”, 40);

}

return el;

}

KGT_FloatDiv(“divTopLeft”,      2,  50).flt();

if (navigator.appName.indexOf(“Netscape”) != -1)

{

KGT_FloatDiv(“divTopRight”,      -120,  50).flt();

}

else

{

KGT_FloatDiv(“divTopRight”,      -102,  50).flt();

}

</script>


Nguồn: http://thuthuatso.com/2010/05/16/code-qu%e1%ba%a3ng-cao-tr%c6%b0%e1%bb%a3t-hai-ben-web-4rum-da-ki%e1%bb%83m-tra/#ixzz189ifJx5D
Về Đầu Trang Go down
http://www.pacbovippro.tk
 
Code quảng cáo trượt hai bên web-4rum (đã kiểm tra)
Về Đầu Trang 
Trang 1 trong tổng số 1 trang
 Similar topics
-
» code quảng cáo hai bên
» Code liên kết trượt hai bên trang website
» code liên kết logo text link quảng cáo cuối trang
» code trang chủ dep
» Code khi tắt web thì hiện thông báo

Permissions in this forum:Bạn không có quyền trả lời bài viết
welcome sinh k7  :: Giải trí :: chuyên mục :: chia sẻ code-
Chuyển đến