Tải bản đầy đủ (.doc) (50 trang)

Gián án Tổng hợp 136 đoạn code cho web

Bạn đang xem bản rút gọn của tài liệu. Xem và tải ngay bản đầy đủ của tài liệu tại đây (1.13 MB, 50 trang )

SƯU TẬP BỘ MÃ CODE NHÚNG VÀO WEBSITE
Code Dự Báo Thời Tiết:
Hà Nội
<img src="
language/www/global/stations/48820.gif"
alt="Du bao thoi tiet - Thu do Ha Noi" title="Dự báo thời tiết - Thủ đô Hà Nội"
height="41" width="127">
Huế
<img src="
language/www/global/stations/48852.gif"
alt="Du bao thoi tiet - Co do Hue" title="Dự báo thời tiết - Cố đô Huế" height="41"
width="127">
Thành Phố Hồ Chí Minh
<img src="
language/www/global/stations/48900.gif"
alt="Du bao thoi tiet - Thanh pho Ho Chi Minh" title="Dự báo thời tiết - Thành phố Hồ
Chí Minh" height="41" width="127">
Đà Nẵng
<img src="
language/www/global/stations/48855.gif"
alt="Du bao thoi tiet - Thanh pho Da Nang" title="Dự báo thời tiết - Thành phố Đà
Nẵng" height=41 width=127>
Thành phố Nha Trang:
<a href=" />48877.html?bannertypeclick=gizmotimetemp"> <img
src=" />weathersticker/gizmotimetemp_both/language
/www/global/stations/48877.gif" border=0
alt="Click for Nha Trang, Viet Nam Forecast"
height=41 width=127></a>
Bạch Long Vĩ:
<a href=" />stations/48839.html?bannertypeclick=miniDial"> <img
src=" />weathersticker/miniDial_both/language/www/


global/stations/48839.gif" border=0
alt="Click for Bach Long Vi, Viet Nam Forecast"
height=50 width=150></a>
Cà Mau:
<a href=" />bannertypeclick=gizmotimetempbig"> <img
src=" />e/www/global/stations/48914.gif" border=0 alt="Click for Ca Mau, Viet Nam Forecast"
height=40 width=467></a>
Cao Bằng:
<a href=" />bannertypeclick=gizmotimetempbig"> <img
src=" />e/www/global/stations/48808.gif" border=0 alt="Click for Cao Bang, Viet Nam
Forecast" height=40 width=467></a>
Côn Sơn:
<a href=" />bannertypeclick=gizmotimetempbig"> <img
src=" />e/www/global/stations/48918.gif" border=0 alt="Click for Con Son, Viet Nam
Forecast" height=40 width=467></a>
Đồng Hới:
<a href=" />bannertypeclick=gizmotimetempbig"> <img
src=" />e/www/global/stations/48848.gif" border=0 alt="Click for Dong Hoi, Viet Nam
Forecast" height=40 width=467></a>
Sơn La:
<a href=" />bannertypeclick=gizmotimetempbig"> <img
src=" />e/www/global/stations/48806.gif" border=0 alt="Click for Son La, Viet Nam Forecast"
height=40 width=467></a>
Lạng Sơn:
<a href=" />bannertypeclick=gizmotimetempbig"> <img
src=" />e/www/global/stations/48830.gif" border=0 alt="Click for Lang Son, Viet Nam
Forecast" height=40 width=467></a>
Lào Cai:
<a href=" />bannertypeclick=gizmotimetempbig"> <img
src=" />e/www/global/stations/48803.gif" border=0 alt="Click for Lao Cai, Viet Nam Forecast"

height=40 width=467></a>
Nam Định:
<a href=" />bannertypeclick=gizmotimetempbig"> <img
src=" />e/www/global/stations/48823.gif" border=0 alt="Click for Nam Dinh, Viet Nam
Forecast" height=40 width=467></a>
Phan Thiết:
<a href=" />bannertypeclick=gizmotimetempbig"> <img
src=" />e/www/global/stations/48887.gif" border=0 alt="Click for Phan Thiet, Viet Nam
Forecast" height=40 width=467></a>
Vinh:
<a href=" />bannertypeclick=gizmotimetempbig"> <img
src=" />e/www/global/stations/48845.gif" border=0 alt="Click for Vinh, Viet Nam Forecast"
height=40 width=467></a>
Phú Quốc:
<a href=" />bannertypeclick=gizmotimetempbig"> <img
src=" />e/www/global/stations/48917.gif" border=0 alt="Click for Phu Quoc, Viet Nam
Forecast" height=40 width=467></a>
Qui Nhơn:
<a href=" />bannertypeclick=gizmotimetempbig"> <img
src=" />e/www/global/stations/48870.gif" border=0 alt="Click for Qui Nhon, Viet Nam
Forecast" height=40 width=467></a>
Thanh Hoá:
<a href=" />bannertypeclick=gizmotimetempbig"> <img
src=" />e/www/global/stations/48840.gif" border=0 alt="Click for Thanh Hoa, Viet Nam
Forecast" height=40 width=467></a>
Trường Sa:
<a href=" />bannertypeclick=gizmotimetempbig"> <img
src=" />e/www/global/stations/48920.gif" border=0 alt="Click for Truong Sa, Viet Nam
Forecast" height=40 width=467></a>
Code Báo Mới :

Tin tổng hợp:
<script type="text/javascript"> epi_id = 'epi-widget-container'; epi_width = '180';
epi_height = 'auto'; epi_border = 1; </script> <script type="text/javascript"
src=" <script
type="text/javascript" src=" />1&count=15&ntype=popular&dtype=2&target=0"></script>
Tin thể thao :
<script type="text/javascript"> epi_id = 'epi-widget-container'; epi_width = '170';
epi_height = '600'; epi_theme = 'widgetDisplayThemePink'; </script> <script
type="text/javascript" src="
<script type="text/javascript" src=" />zone=55&count=10&ntype=popular&dtype=2&target=0"></script>
Code Truyện cười :
Xem truyện cười <iframe frameborder="1" width="98%"
src=" height="300"></iframe>
Code tra Từ điển trực tuyến :
</iframe> <iframe name=khungphu frameborder="1" height=220 width=100%
src=" />Code Lịch truyền hình xem bóng đá :
<iframe src=" frameborder="1" width="100%"
height="200" scrolling="yes"></iframe>
Code Xưa và Nay :
<iframe width = "100%" src = " />Code ngựa chạy (Past vào mục thông tin bản quyền) :
<marquee style="z-index: 1; left: 10px; width: 770px; position: absolute; top: 20px;
height: 1000px;" scrollamount="5" direction="right"><span class="falling1"><img
src="
_fcksavedurl="
_fcksavedurl=" />marquee><marquee style="z-index: 1; left: 10px; width: 770px; position: absolute; top:
60px; height: 1000px;" scrollamount="8" direction="right"><span
class="falling1"><img src="
_fcksavedurl="
_fcksavedurl=" />marquee><marquee style="z-index: 1; left: 10px; width: 770px; position: absolute; top:
80px; height: 1000px;" scrollamount="10" direction="right"><span

class="falling1"><img src="
_fcksavedurl="
_fcksavedurl=" />marquee>
Code Hoa rơi (Paste vào mục thông tin bản quyền) :
<marquee style="z-index: 1; left: 677px; width: 30px; position: absolute; top: -11px;
height: 1000px;" scrollamount="4" direction="down"><span class="falling1"><img
src="
_fcksavedurl="
_fcksavedurl=" />marquee> <marquee style="z-index: 1; left: 191px; width: 30px; position: absolute; top:
-231px; height: 1000px;" scrollamount="5" direction="down"><span
class="falling1"><img
src="
_fcksavedurl="
_fcksavedurl=" />marquee> <marquee style="z-index: 1; left: 636px; width: 30px; position: absolute; top:
-266px; height: 1000px;" scrollamount="7" direction="down"><span
class="falling1"><img
src="
_fcksavedurl="
_fcksavedurl=" />marquee> <marquee style="z-index: 1; left: 672px; width: 30px; position: absolute; top:
-495px; height: 1000px;" scrollamount="9" direction="down"><span
class="falling1"><img
src="
_fcksavedurl="
_fcksavedurl=" />marquee> <marquee style="z-index: 1; left: 425px; width: 30px; position: absolute; top:
-440px; height: 1000px;" direction="down"><span class="falling1"><img
src="
_fcksavedurl="
_fcksavedurl=" />marquee> <marquee style="z-index: 1; left: 645px; width: 30px; position: absolute; top:
-133px; height: 1000px;" scrollamount="3" direction="down"><span
class="falling1"><img

src="
_fcksavedurl="
_fcksavedurl=" />marquee> <marquee style="z-index: 1; left: 270px; width: 30px; position: absolute; top:
-335px; height: 1000px;" scrollamount="4" direction="down"><span
class="falling1"><img
src="
_fcksavedurl="
_fcksavedurl=" />marquee> <marquee style="z-index: 1; left: 248px; width: 30px; position: absolute; top:
-121px; height: 1000px;" scrollamount="7" direction="down"><span
class="falling1"><img
src="
_fcksavedurl="
_fcksavedurl=" />marquee> <marquee style="z-index: 1; left: 374px; width: 30px; position: absolute; top:
-478px; height: 1000px;" scrollamount="2" direction="down"><span
class="falling1"><img
src="
_fcksavedurl="
_fcksavedurl=" />marquee>
Code Bướm bay :
<embed allowScriptAccess="never" allowNetworking="internal"
enableJavaScript="false" src=" />nr=6&type1=0&type2=3&type3=1&type4=4&type5=5&type6=2" width=350
height=300 wmode="transparent"><br><div><a
href="
target="_blank">Butterflies at crazyprofile.com</a></div>
Code Cá bơi :
<embed src=' /> quality='high' wmode=Transparent allowScriptAccess="never" width='300'
height='300' type='application/x-shockwave-flash'
pluginspage=' />Code Đồng hồ Solex :
<embed src="
quality="high" width="240" height="240" name="calendar" align="middle"

allowScriptAccess="sameDomain" type="application/x-shockwave-flash"
pluginspage=" />Code Tìm kiếm Google :
(Xem báo)<script type="text/javascript"> epi_id = 'epi-widget-container'; epi_width =
'170'; epi_height = '220'; epi_theme = 'widgetDisplayThemePink'; epi_border = 1;
</script> <script type="text/javascript"
src=" <script
type="text/javascript" src=" />1&count=30&ntype=popular&dtype=2&target=0"></script> <form
action=" id="cse-search-box"> <h2><font
color="#FF0000"><b>CÔNG CỤ TÌM KIẾM</b></font></h2> <br> <img border="0"
alt="Google" src=" <input
type="hidden" name="cx" value="012596416485239023597:bdyrt64se6s" /> <input
type="hidden" name="ie" value="UTF-8" /><input type="text" name="q" size="25" />
<p> <input type="radio" name="sitesearch" value="" /> Tìm kiếm tất cả<br> <input
type="radio" name="sitesearch"value=" checked="checked" /> Thư
viện Violet <br> <input type="radio" name="sitesearch"value=" />checked="checked" /> Thư viện Giáo án<br> <input type="radio"
name="sitesearch"value=" checked="checked" /> Thư viện Đề
thi <br> <input type="radio" name="sitesearch"value="
checked="checked" /> Thư viện Bài giảng<br> <input type="radio"
name="sitesearch"value=" checked="checked" /> Trang này
</p> <p> <input type="submit" name="Thanh" value="Tìm kiếm với Google" /></p>
</form>(Hỗ Trợ trực tuyến
Code Đồng hồ quả lắc Flash :
<embed src=" />TimeZone=VietNam_Hanoi&Place=&" width="180" height="180"
wmode="transparent" type="application/x-shockwave-flash">
Code Lịch Flash :
<embed src="
pluginspage=" type="application/x-
shockwave-flash" name="obj1" width="180" height="230">
Code Máy tính bỏ túi Flash:
<embed src="

pluginspage=" type="application/x-
shockwave-flash" name="obj1" width="180" height="230">
Code Danh ngôn song ngữ Anh-Việt
<script src=" />url= />=http%3A%2F%2Fhotrotrekhiemthinh.110mb.com%2FJAVA%2520SCRIPT
%2FDANH%2520NGON%2Fdanhngonsongngu-
final.htm&up_mywidth=180&up_myheight=250&up_myalign=center&synd=open&w
=180&h=250&title=&border=%23ffffff%7C3px%2C1px+solid+
%23999999&output=js"></script>
Code Du lịch - Danh lam thắng cảnh
<script src="
type="text/javascript"></script>
Code Album Hoa đẹp
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase=" />rsion=9,0,40,0" align="middle" width="348" height="289"><param name="movie"
value=" />703/slideshow.swf?
xmlPath=
name="wmode" value="transparent" /><param name="allowscriptaccess"
value="always" /><param name="allowfullscreen" value="true" /><param
name="mAuto" value="false" /><embed width="348" height="289" mAuto="false"
wmode="transparent" allowscriptaccess="always" allowfullscreen="true"
quality="high"
src=" />3/slideshow.swf?
xmlPath=
type="application/x-shockwave-flash"/></object>
Code Nhà đẹp
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase=" />rsion=9,0,40,0" align="middle" width="348" height="289"><param name="movie"
value=" />703/slideshow.swf?
xmlPath= />name="wmode" value="transparent" /><param name="allowscriptaccess"
value="always" /><param name="allowfullscreen" value="true" /><param

name="mAuto" value="false" /><embed width="348" height="289" mAuto="false"
wmode="transparent" allowscriptaccess="always" allowfullscreen="true"
quality="high"
src=" />3/slideshow.swf?
xmlPath=
type="application/x-shockwave-flash"/></object>
Code Cá cảnh :
<script type="text/javascript"
src=" />ript>if (WIDGETBOX) WIDGETBOX.renderWidget('b8b608be-780d-4a43-a926-
de2a7b4a95bf');</script><noscript>Get the <a
href=" />buddhahands">Zen Fish Tank (Aquarium) by LocalHealers</a> widget and many other
<a href=" free widgets</a> at <a
href="">Widgetbox</a>!</noscript>
Code Cây cảnh
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase=" />rsion=9,0,40,0" align="middle" width="348" height="289"><param name="movie"
value=" />703/slideshow.swf?
xmlPath= />ram name="wmode" value="transparent" /><param name="allowscriptaccess"
value="always" /><param name="allowfullscreen" value="true" /><param
name="mAuto" value="false" /><embed width="348" height="289" mAuto="false"
wmode="transparent" allowscriptaccess="always" allowfullscreen="true"
quality="high"
src=" />3/slideshow.swf?
xmlPath=
type="application/x-shockwave-flash"/></object>
CODE Bể cá cảnh:
<object type="application/x-shockwave-flash"
data=" />85da626c82/40aa1df8" id="W486c097c0199c8844a34f7c5d3778819" width="400"
height="345"><param name="movie"
value=" />985da626c82/40aa1df8" /><param name="wmode" value="transparent" /><param

name="allowNetworking" value="all" /><param name="allowScriptAccess"
value="always" /></object>
CODE Thác nước:
<object type="application/x-shockwave-flash"
data=" />0dd110e3/9b0b5e18" id="W4852c6ad8adeae534a34fa9f8d854a07" width="404"
height="344"><param name="movie"
value=" />bf0dd110e3/9b0b5e18" /><param name="wmode" value="transparent" /><param
name="allowNetworking" value="all" /><param name="allowScriptAccess"
value="always" /></object>
CODE Cảnh đẹp:
<script src=" />format=javascript&width=200"></script>
CODE Lịch:
<embed src="
pluginspage=" type="application/x-
shockwave-flash" name="obj1" width="180" height="230">
CODE tra diem thi Dai hoc
<center>
<b><font face="Times New Roman" color="#FF0000" size="4">XEM ĐIỂM THI ĐH
2009 ( LIÊN TỤC CẬP NHẬT )</font></b></center></br>
<script language="javascript"
src=" /><script language="javascript" src=" />CO DE lien ket web
1- Phần 1:
.....................................................................................................
<select
id="Select1"onchange="window.open(this.options[this.selectedIndex].value,'_blank');th
is.options[0].selected=true" style="width: 180; " class="text_noresize"
name="select"><option selected="selected">Điểm báo online</option><option
value="about:Tabs">--------------------------</option>
....................................................................................................
Chú ý: Bạn có thể thay chữ : Điểm báo online bằng gì cũng được. Nên nhớ nó sẽ hiện

trên box để ta biết được đó là liên kết gì.
2- Phần 2: Tạo liên kết cho từng mục.
<option value=" đàn tư vấn tin học</option>
Chú ý: ở đây bạn đã nhận ra là địa chỉ của trang web. Còn
Diễn đàn tư vấn tin học là tên sẽ được hiển thi trong box của ta.
Lặp lại và thay đổi những liên kết cần thiết nếu cần.
3- Phần 3: Cuối đoạn code
</select>
4- Kết luận:
Nối 3 đoạn của 3 phần trên ta được một dropdown box thật tuyệt vời.
5- Lưu ý: + Nếu muốn làm 2 hay nhiều hơn các box bạn phải thực hiện lại các bước
trên. + Dấu cách và xuống hàng trong HTML code không quan trọng, do vậy ta nên
soạn thảo trên Word là thích hợp nhất ( font UNICODE )
CODE Lịch kèm Đồng hồ:
<embed src="
pluginspage=" type="application/x-
shockwave-flash" name="obj1" width="180" height="240">
Dong Ho:
<embed src=" />TimeZone=VietNam_HoChiMinhCity&" width="180" height="180"
wmode="transparent" type="application/x-shockwave-flash">
CODE để thay đổi màu các đường link trên blog của mình:
<STYLE type=text/css>A:link {
COLOR:green; FONT: 10pt Arial; TEXT-DECORATION:none
}
A:visited {
COLOR: blue; FONT: 10pt Arial; TEXT-DECORATION:none
}
A:hover {
COLOR:blue; FONT: 10pt Arial; TEXT-DECORATION:none
}

</STYLE>
Các bạn hãy copy đoạn code trên và dán vào một khối HTML. Có thể chèn đoạn code
này trước hoặc sau các đoạn code khác.
Hãy tự khám phá : Các bạn hãy thay đổi chữ in đậm theo màu và font chữ xem kết
quả mình tạo ra !
Với menu ngang ở phía trên của blog thì đã được hỗ trợ trong theme và cách tạo khá dễ
dàng. Tuy nhiên, để tạo thêm menu ở cuối trang thì chúng ta không thể thực hiện được
như thông thường. Để làm được điều này chúng ta cần chèn thêm code vào blog.
CODE để tạo thêm menu ngang ở cuối trang hoặc trong các thẻ HTML:
Cấu trúc code như sau :
<div class="menutop nowrap" id="chromemenu"><ul><li><a href="link"><span> Tên
menu </span></a></li></div>
Để tạo thêm menu các bạn hãy lặp lại đoạn code <li><a href="link"><span> Tên
menu </span></a></li> tuỳ theo số menu cần tạo.
Lưu ý :
- Hãy thay link bằng địa chỉ (URL) cần link đến của menu
- Thay tên menu bằng tên bạn muốn hiển thị trên menu.
Các bạn có thể xem ví dụ về menu ngang tôi tạo ở cuối trang. Chúc các bạn thành
công !
10 mẫu giao diện mới
Xin được tiếp tục chia sẻ cùng quý thầy cô 8 mẫu giao diện có màu nền nhạt, vì theo
một số ý kiến của các thầy cô, mẫu này có vẻ nhẹ nhàng, dịu mắt và dễ đọc. Xin mời
quý thầy cô Copy Code tại đây nhé:
1. Mẫu giao diện màu xanh lá cây:
<link rel="stylesheet" type="text/css" media="screen"
href=" rel="stylesheet"
type="text/css" media="screen"
href=" />
<link rel="stylesheet" type="text/css" media="screen"
href=" rel="stylesheet"

type="text/css" media="screen" href=" />/>
2. Mẫu giao diện màu xanh Cốm:
<link rel="stylesheet" type="text/css" media="screen"
href=" rel="stylesheet"
type="text/css" media="screen"
href=" rel="stylesheet"
type="text/css" media="screen"
href=" rel="stylesheet"
type="text/css" media="screen" href=" />3. Mẫu giao diện màu xanh dương:
<link rel="stylesheet" type="text/css" media="screen"
href=" rel="stylesheet"
type="text/css" media="screen"
href=" rel="stylesheet"
type="text/css" media="screen"
href=" rel="stylesheet"
type="text/css" media="screen" href=" />4. Mẫu giao diện màu Tím:
<link rel="stylesheet" type="text/css" media="screen"
href=" rel="stylesheet"
type="text/css" media="screen"
href=" rel="stylesheet"
type="text/css" media="screen"
href=" rel="stylesheet"
type="text/css" media="screen" href=" />5. Mẫu giao diện màu xanh:
<link rel="stylesheet" type="text/css" media="screen"
href=" rel="stylesheet"
type="text/css" media="screen"
href=" rel="stylesheet"
type="text/css" media="screen"
href=" rel="stylesheet"
type="text/css" media="screen" href=" />6. Mẫu giao diện màu đỏ:

<link rel="stylesheet" type="text/css" media="screen"
href=" rel="stylesheet"
type="text/css" media="screen"
href=" rel="stylesheet"
type="text/css" media="screen"
href=" rel="stylesheet"
type="text/css" media="screen" href=" />7. Mẫu giao diện màu ghi:
<link rel="stylesheet" type="text/css" media="screen"
href=" rel="stylesheet"
type="text/css" media="screen"
href=" rel="stylesheet"
type="text/css" media="screen"
href=" rel="stylesheet"
type="text/css" media="screen" href=" />8. Mẫu giao diện màu xanh dương (nhạt hơn):
<link rel="stylesheet" type="text/css" media="screen"
href=" rel="stylesheet"
type="text/css" media="screen"
href=" rel="stylesheet"
type="text/css" media="screen"
href=" rel="stylesheet"
type="text/css" media="screen" href=" />9. Mẫu giao diện màu ghi:(đây là mầu hồng Thành à)
<link rel="stylesheet" type="text/css" media="screen"
href=" rel="stylesheet"
type="text/css" media="screen"
href=" rel="stylesheet"
type="text/css" media="screen"
href=" rel="stylesheet"
type="text/css" media="screen" href=" />10. Bo giao dien mau tim
<link rel="stylesheet" type="text/css" media="screen"
href=" rel="stylesheet"

type="text/css" media="screen"
href=" rel="stylesheet"
type="text/css" media="screen"
href=" rel="stylesheet"
type="text/css" media="screen" href=" />Quý thầy cô Copy phần Code của mẫu giao diện rồi Paste vào phần Thông tin bản
quyền.
Một điều cần chú ý là quý thầy cô nên chọn mẫu thư viện là mẫu tết, giao diện sẽ thể
hiện đẹp nhất.
Chúc quý thầy cô thành công !
CODE vang, ngoai te
1. Code tỷ giá ngoại tệ ( Nguồn cung cấp: Vietcombank hàng ngày vào 9 giờ sáng )
<iframe src=" width="180"
height="240" scrolling="yes" frameborder="0" marginheight="0"
marginwidth="0"></iframe>
2. Code giá vàng ( Do SJC cung cấp )
<iframe src=" width="180"
height="250" scrolling="yes" frameborder="0" marginheight="0"
marginwidth="0"></iframe>
Bộ đếm số lượt truy cập cho blog thay thế bộ đếm của Violet
Khi đưa một website lên internet hay sử dụng blog ở một dịch vụ nào đó thì bộ đếm
lượt truy cập là một cái có thể nói là không thể thiếu, nó giúp cho việc đánh giá hiệu
quả hoạt động cũng như “sự nổi tiếng” của trang web. . Một số blog đã cung cấp sẵn bộ
đếm như wordpress hay yahoo 360, nhưng blogspot và một số site khác thì không có
sẵn. Sau đây tôi xin giới thiệu với các bạn một số website miễn phí có thể giúp bạn đưa
bộ đếm vào website hay blog của mình.
Cách sử dụng rất đơn giản, bạn chỉ cần đăng kí một tài khoản tại website, cung cấp địa
chỉ của website hay blog của bạn, sau đó nó sẽ sinh ra một đoạn mã chứa HTML và
Javascript, bạn hãy copy đoạn mã này và đặt vào bất cứ đâu trong website của mình, ở
chỗ mà bạn muốn nó hiện ra ấy.
Các bạn có thể xem một số hình minh họa mà nó sẽ hiển thị khi đưa vào website của

chúng ta, còn rất nhiều kiểu dáng, các bạn có thể vào site của nó để xem và lựa một
kiểu thích hợp .


• (site này có hỗ trợ tiếng Việt)

Đoạn code chèn quảng cáo hai bên website (dạng trượt
Đoạn 1:

<div id="divTopLeft" style="position: absolute; left: 10px; top: 15px; height: 478px;">
<script type=text/javascript> var widget_id =17326; var widget_width= "120"; var
widget_height= "600";</script><a href="" title="Tài trợ bởi
Chợ Điện Tử - Ebay"></a><script type=text/javascript
src="
type=text/javascript>document.write('<iframe ALLOWTRANSPARENCY=true
width="'+widget_width+'" height="'+widget_height+'" frameborder="0"
scrolling="No" hspace="0" vspace="0" marginheight="0" marginwidth="0"
src='+adnet_domain_name+'></iframe>'); </script></div>

Đoạn 2:

<div id="divTopRight" style="position: absolute">
<script type=text/javascript> var widget_id =17325; var widget_width= "120"; var
widget_height= "600";</script><a href="" title="Tài trợ bởi
Chợ Điện Tử - Ebay"></a><script type=text/javascript
src="
type=text/javascript>document.write('<iframe ALLOWTRANSPARENCY=true
width="'+widget_width+'" height="'+widget_height+'" frameborder="0"
scrolling="No" hspace="0" vspace="0" marginheight="0" marginwidth="0"
src='+adnet_domain_name+'></iframe>'); </script></div>


Đoạn 3:

<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);

×