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

Bài giảng CÁC LOẠI CODE TRANG TRÍ CHO WEB HAY

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 (113.7 KB, 5 trang )

Code HIỂN THỊ DÒNG THÔNG BÁO
<embed src=" flashvars=
"MyTxt= Nga
̀
y 02/12 Thủ thuật blog Violet post tặng các bạn code rất hay.# Các bạn thử làm
nhé.# Hãy đến với blog thường xuyên bạn sẽ có được những thủ thuật hay"
style="height: 200px; width: 200px;" wmode="transparent">

hd
Cho code vào thêm khối chức năng
Code chèn hình ảnh hai bên blog
Để chèn hình ảnh hai bên blog các bạn có thể chèn đoạn code sau vào ô thông tin bản quyền :
Bên trái :
<DIV id="divAdLeft" align="left" style="LEFT: -95px; WIDTH: 108px; POSITION: absolute; TOP:
71px"><br/><a target="_blank" <a href="link đến trang"><img src=" link hình ảnh sẽ hiển thị"
border="0" </a><br/></DIV>
Bên phải :
<DIV id="divAdRight" align="right" style="RIGHT:1px; WIDTH: 108px; POSITION: absolute; TOP:
71px"><a target="_blank"<a href="link đến trang"_blank"><img src=" link hình ảnh sẽ hiển thị "
border="0"</a><br/>
</DIV>
<script src=" />
Nếu chỉ chèn một bên thì các bạn hãy copy một trong hai đoạn trên và chèn vào ô thông tin bản
quyền. Nếu muốn chèn cả hai bên thì các bạn hãy copy cả hai đoạn code trên và dán vào ô
thông tin bản quyền.
Trong đó thay link đến trang bằng link mà bạn muốn mở khi click chuột vào.
Thày link hình ảnh sẽ hiển thị bằng link của hình ảnh mà các bạn muốn hiển thị.
Lưu ý : Các bạn phải copy đầy đủ đoạn code trên và chỉ thay link. Nếu không hiểu biết nhiều về
code thì không nên chỉnh sửa, vì rất dễ gây lôi, nếu chỉnh sửa không đúng.
Chỉ copy đoạn code không copy các chữ bên trái, bên phải.
Sau đây là đoạn code tôi dùng cho trang của tôi các bạn có thể tham khảo :



<DIV id="divAdLeft" align="left" style="LEFT: -95px; WIDTH: 108px; POSITION: absolute; TOP:
71px"><br/><a target="_blank" <a href=""_blank"><img
src=" border="0"
alt="Unlimited Free Image and File Hosting at MediaFire"><a target="_blank"<a
href=""_blank"><img
src=" border="0"
alt="Unlimited Free Image and File Hosting at MediaFire"></a><br/></DIV>
<DIV id="divAdRight" align="right" style="RIGHT:1px; WIDTH: 108px; POSITION: absolute; TOP:
71px"><a target="_blank"<a href="" target"_blank"><img src="
" border="0"
alt="Unlimited Free Image and File Hosting at MediaFire"></a><a href="http://thpt-namdan1-
nghean.violet.vn" target="_blank"><img
src=" border="0"
alt="Unlimited Free Image and File Hosting at MediaFire"></a><br/>
</DIV>
<script src=" />CODE ĐỒNG HỒ ĐỊA CẦU:
<!-Local Time Clock widget - HTML code - localtimes.info --><div align="center"
style="margin:15px 0px 0px 0px"><div align="center" style="width:140px;border:1px solid
#ccc;background:#fff ;color: #fff ;font-weight:bold"><a style="padding:2px 1px;margin:2px
1px;font-size:13px;line-height:16px;font-family:arial;text-decoration:none;color:#000 ;"
href="o/Asia/Vietnam/Qui_Nhon/"><img
src="o/images/countries/vn.png" border=0
style="border:0;margin:0;padding:0"> Qui Nhon Time</a></div><script type="text/javascript"
src="o/clock.php?
continent=Asia&country=Vietnam&city=Qui+Nhon&widget_number=121&fwdt=150&ham=1&hfg=
1"></script></div><!-end of code-->
------------------------------------------------
CODE TRA ĐIỂM THI:
<script language="javascript"

src=" /><script language="javascript" src=" />----------------------------------------------
CODE DONG HO
<!-Local Time Clock widget - HTML code - localtimes.info --><div align="center"
style="margin:15px 0px 0px 0px"><div align="center" style="width:140px;border:1px solid ;font-
weight:bold"><a style="padding:2px 1px;margin:2px 1px;font-size:13px;line-height:16px;font-
family:arial;text-decoration:none;color:#11ff11 ;"
href="o/Asia/Vietnam/Ha_Noi/"><img
src="o/images/countries/vn.png" border=0
style="border:0;margin:0;padding:0"> </a></div><script
type="text/javascript" src="o/clock.php?
continent=Asia&country=Vietnam&city=Ha+Noi&color=green&widget_number=1000&fwdt=150&
mon=1"></script></div><!-end of code-->
-------------------------------------------------
CODE GIA VANG
<iframe src=" width="170" height="150"
scrolling="yes" frameborder="0" marginheight="0" marginwidth="0"></iframe>
-------------------------------------------------
CODE NGOAI TE
<iframe src=" width="170" height="240"
scrolling="yes" frameborder="0" marginheight="0" marginwidth="0"></iframe>
-------------------------------------------------
CODE CHEN FLASH
<embed src="LINK FLASH" pluginspage="
type="application/x-shockwave-flash" name="obj1" width="180" height="120">
-------------------------------------------------
((LINK FLASH VI DU: />(( />-------------------------------------------------
CODE DONG HO + LICH BLOG
<embed src="
pluginspage=" type="application/x-shockwave-
flash" name="obj1" width="180" height="220">

-------------------------------------------------
MỘT SỐ CODE CHỮ
1.Chữ chạy sang trái
<marquee> WEBSITE HÓA HỌC HPT</marquee>
2. Chữ chạy sang phải
<marquee direction="right">WEBSITE HÓA HỌC HPT</marquee>
3.Chữ chạy qua lại :
<marquee behavior="alternate">WEBSITE HÓA HỌC HPT</marquee>
4. Chữ chạy dưới lên
<marquee direction="up">WEBSITE HÓA HỌC HPT</marquee>
5. Chữ chạy trên xuống
<marquee direction="down">WEBSITE HÓA HỌC HPT</marquee>
6. Chữ chạy lên xuống
<marquee direction="up" behavior="alternate">WEBSITE HÓA HỌC HPT</marquee>
7. Chữ bay hình sin
<marquee behavior="alternate" direction="up" width="80%"><marquee direction="right">WEBSITE
HÓA HỌC HPT</marquee></marquee>
8. Chữ bay hình chữ Z
<marquee behavior="alternate" direction="up" width="80%"><marquee direction="right"
behavior="alternate">WEBSITE CỦA ĐỖ VŨ HIỆP</marquee></marquee>
9. Mũi tên nhấp nháy
<marquee behavior="alternate" width="10%">>></marquee>WEBSITE HÓA HỌC HPT<marquee
behavior="alternate" width="10%"><<</marquee>
10. Mũi tên chạy ra
<marquee behavior="alternate" width="10%">>></marquee>WEBSITE HÓA HỌC HPT<marquee
behavior="alternate" width="10%"><<</marquee>
11.Chữ có màu nền
<font color="#FFFFFF"><marquee direction="left" style="background:BLUE"> WEBSITE CỦA ĐỖ VŨ
HIỆP</marquee></font>
12. Chữ có khung

<marquee style="border:BLUE 2px SOLID">WEBSITE HÓA HỌC HPT</marquee>
13. Chữ co dãn 1
<MARQUEE behavior=alternate direction=left scrollAmount=3 width="4%"><font
face=Webdings>3</font></MARQUEE><MARQUEE scrollAmount=1 direction=left width="2%">| | |
</MARQUEE>WEBSITE HÓA HỌC HPT<MARQUEE scrollAmount=1 direction=right width="2%">| | |
</MARQUEE><MARQUEE behavior=alternate direction=right scrollAmount=3 width="4%"><font
face=Webdings>4</font></MARQUEE>/
14. Chữ co dãn 2
<MARQUEE behavior=alternate direction=left scrollAmount=3 width="4%"><font
face=Webdings>4</font></MARQUEE><MARQUEE scrollAmount=1 direction=left width="2%">| | |
</MARQUEE>WEBSITE HÓA HỌC HPT<MARQUEE scrollAmount=1 direction=right width="2%">| | |
</MARQUEE><MARQUEE behavior=alternate direction=right scrollAmount=3 width="4%"><font
face=Webdings>3</font></MARQUEE>
15. Chữ chạy và biến mất.
<marquee behavior="alternate"><marquee width="150">WEBSITE HÓA HỌC
HPT</marquee></marquee>
?: Rootvn Forum />16.Chữ lơ lửng
<marquee behavior=alternate direction=up scrollamount=2 scrolldelay=65 height=80 style="Text-
align;filter:wave(add=0,phase=1, freq=1,strength=15,color=.FFFFFF)"><center>WEBSITE HÓA
HỌC HPT<br >Giao lưu và chia sẻ </center></marquee>
17- Chữ màu ( tĩnh):
<b><font color="#3300FF"> CHÀO CÁC THẦY CÔ GIÁO ĐẾN VỚI</font><font color="#FF00FF ">
WEBSITE HÓA HỌC HPT</font></b>
Mã : <b><font color="#mã màu"> Đoạn văn bản </font></b>
18- Chữ màu chạy trong khung màu:
<marquee style="border:BLUE 2px SOLID">
<b><font color="#3300FF">CHÀO MỪNG CÁC BẠN ĐẾN THĂM </font></b>
</marquee>
Thay BLUE bằng các từ khác để được màu khung theo ý muốn của bạn. Ví dụ: RED (đỏ), ,
GREEN (xanh lá cây), PINK (hồng), YELLOW (vàng), VIOLET (tím), BLACK (đen)....


19) Chữ chạy điều chỉnh được tốc size:
<marquee <font color="#FF0000" size="4"> WEBSITE HÓA HỌC HPT</font></marquee>
20) Chữ chạy thay đổi tốc độ, size:
<b><marquee direction="left" scrollamount="6" onmouseover="this.stop();"
onmouseout="this.start();"><font color="#FF0000" size="2">WEBSITE HÓA HỌC
HPT</font></marquee></b>
------------------------------------------------
21) Canh giữa:
<div align="center">WEBSITE HÓA HỌC HOAPT</div>
-------------------------------------------------
Code tạo nút lên, xuống đặt giữa trang BLOG
Copy và paste vào cột chức năng:
<center>
<div id='top-buttom_image'>
<a href='javascript:scroll(0,0)' title=' Về đầu trang'><img alt='Lên đầu trang' border='2'
src=" />"></a><br/>
<a href='javascript:scroll(0,9999999)' title='Về cuối trang '><img alt='Xuống cuối trang' border='2'
src=" />"></a>
</div>
</center>
-------------------------------------------------
Code nhúng phòng thí nghiệm Hóa học vào BLOG
<embed src=' width="425" height="344"><param
name="movie"
value="
name="allowFullScreen" value="true"></param><param name="allowscriptaccess"
value="always"></param><embed src=" />type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true"
width="425" height="344"></embed></object>&autoplay=1' type='application/x-shockwave-flash'
wmode='transparent' width='450' height='380'></embed>

×