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

CÁC ĐOẠN CODE TẠO 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 (145.38 KB, 17 trang )

CODE XEM BAN ĐỒ
<div class="content">
<iframe marginheight="0" marginwidth="0"
src=" />ie=UTF8&amp;source=embed&amp;ll=16.930705,108.28125&amp;spn
=16.718224,28.168945&amp;t=h&amp;z=5&amp;output=embed"
scrolling="no" width="425" frameborder="0" height="350">
</iframe><br>
<small><a href=" />ie=UTF8&amp;source=embed&amp;ll=16.930705,108.28125&amp;spn
=16.718224,28.168945&amp;t=h&amp;z=5" style="color: rgb(0,
0, 255); text-align: left;">View Larger Map</a></small>
Nhấn chuột vào bản đồ để phóng to, thu nhỏ,
chuyển sang vùng khác </div>
CODE TÌM -*GOOGLE THÔNG MINH*-
<table style="BORDER-COLLAPSE: collapse" cellpadding="0" width=
"98%" border="0">
<tbody>
<tr>
<td height="3">
<p align="center"><font color="#FF0000">-*<b><font size="2">GOOGLE
THÔNG MINH*-</font></b></font></p>
</td>
</tr>
<tr>
<td style=
"BORDER-RIGHT: pink 1px solid; PADDING-RIGHT: 3px; BORDER-TOP: pink
1px solid; PADDING-LEFT: 3px; PADDING-BOTTOM: 3px; BORDER-LEFT:
pink 1px solid; PADDING-TOP: 3px; BORDER-BOTTOM: pink 1px solid"
bgcolor-......="">
<center>
<form action=" method="get" target=
"google_window">


<table width="98%">
<tbody>
<tr>
<td valign="top" nowrap align="middle" height="32">
<input maxlength="255" size="22" name="q"></td>
</tr>
<tr>
<td valign="top" align="middle"><font color="#FF00FF"><input type=
"submit" value=".::Bắt đầu::." name="sa"></font><input type=
"hidden" value="pub-1710694852538675" name="client"><input type=
"hidden" value="1" name="forid"><input type="hidden" value=
"3468842972" name="channel"><input type="hidden" value="UTF-8"
name="ie"><input type="hidden" value="UTF-8" name="oe"><input type=
"hidden" value="LH:150;LW:778;L:http://???;S:http://???;" name=
"cof"><input type="hidden" value="vi" name="hl"></td>
</tr>
</tbody>
</table>
</form>
</center>
<!-- End Search Google By xaydungcauduong.net --></td>
</tr>
</tbody>
</table>
<table style="BORDER-COLLAPSE: collapse" cellpadding="0" width=
"33%" border="0">
<tbody>
<tr>
<td></td>
</tr>

</tbody>
</table>
<table style="BORDER-COLLAPSE: collapse" cellpadding="0" width=
"21%" border="0">
<tbody>
<tr>
<td height="1">
<p align="center"><b><font size="2" color="#FF0000">-*-*-TỪ
ĐIỀN QUỐC TẾ-*-*-</font></b><br>
<img width="168" src=
" />height="66"></p>
</td>
</tr>
<tr>
<td style=
"BORDER-RIGHT: pink 1px solid; PADDING-RIGHT: 3px; BORDER-TOP: pink
1px solid; PADDING-LEFT: 3px; PADDING-BOTTOM: 3px; BORDER-LEFT:
pink 1px solid; PADDING-TOP: 3px; BORDER-BOTTOM: pink 1px solid"
bgcolor-......="">
<center>
<form name="vdict" action=" method=
"get" target="_blank">
<p><input id="word" maxlength="100" size="22" name="word"><br>
Tra theo từ điển:<br>
<font size="1"><select name="dictionary">
<option value="0">Tất cả các từ điển</option>
<option value="1" selected>Từ điển Anh-Việt</option>
<option value="2">Từ điển Việt - Anh</option>
<option value="3">Từ điển Việt - Việt</option>
<option value="4">Từ điển Việt - Pháp</option>

<option value="5">Từ điển Pháp - Việt</option>
<option value="6">Từ điển Tin học</option>
<option value="7">Từ điển Anh - Anh</option>
</select></font><br>
<input type="submit" value="Tra từ"><input type="reset" value=
"Làm lại"></p>
</form>
<p><select style=
"FONT-SIZE: 8pt; WIDTH: 90%; COLOR: black; FONT-FAMILY: Tahoma;
HEIGHT: 37"
onchange=
"if (this.value != '#') window.open(this.value, '_blank');" size=
"1" name="webtudien">
<option value="#" selected>Các bộ t.điển khác</option>
<option value="">Từ điển VDict</option>
<option value="">Từ điển hình
ảnh</option>
<option value="">Từ điển
Netcenter-vn</option>
<option value="">Từ điển
VietDic</option>
<option value="">Từ điển ĐH
CamBridge</option>
<option value="">WordWeb
Online</option>
<option value="">Dịch văn bản
online</option>
<option value="">Dịch Web
online</option>
<option value="">Từ điển

A-A,A-F,A-Y.</option>
<option value=
" />P-Đ-TBN-Anh</option>
<option value="">Từ điển cho Nhà
Thờ</option>
<option value="">Từ điển Mỹ
thuật</option>
<option value=" />điển đvị đo lường</option>
<option value=
" điển
Sinh - hóa</option>
<option value="">© 2009 by Mai Thien
Chanh</option>
</select></p>
</center>
</td>
</tr>
</tbody>
</table>
CODE LOI CHUC THEO NGAY
<center><script type="text/javascript">
var mydate=new Date()
var year=mydate.getYear()
if (year < 1000)
year+=1900
var day=mydate.getDay()
var month=mydate.getMonth()
var daym=mydate.getDate()
if (daym<10)
daym="0"+daym

var dayarray=new Array("CHỦ NHẬT","THỨ HAI","THỨ BA","THỨ TƯ","THỨ
NĂM","THỨ SÁU","THỨ BẢY")
var montharray=new
Array("01","02","03","04","05","06","07","08","09","10","11","12")
document.write("<font color='#0066cc' face='Arial' size='2'><b>"+dayarray[day]
+", "+daym+"/"+montharray[month]+"/"+year+"<\/b><\/font>")
</script></center>
<script language="JavaScript" type="text/javascript">
<!--
// Store the date In avarlable
d = new Date()
dateText = ""
// Get the cuurent day and convert it to the name of the day
dayValue = d.getDay()
if(dayValue == 0)
dateText += "Chủ Nhật"
else if (dayValue == 1)
dateText += "Thứ Hai"
else if (dayValue == 2)
dateText += "Thứ Ba"
else if (dayValue == 3)
dateText += "Thứ Tư"
else if (dayValue == 4)
dateText += "Thứ Năm"
else if (dayValue == 5)
dateText += "Thứ Sáu"
else if (dayValue == 6)
dateText += "Thứ Bảy"
// Get the current date; if it's before 2000,add 1900
dateText += ", Ngày " + d.getDate()+","

// Get the current month and convert it to the name of the month
monthValue = d.getMonth()
dateText += " "
if (monthValue == 0)
dateText += "Tháng 1"
if (monthValue == 1)
dateText += "Tháng 2"
if (monthValue == 2)
dateText += "Tháng 3"
if (monthValue == 3)
dateText += "Tháng 4¬"
if (monthValue == 4)
dateText += "Tháng 5"
if (monthValue == 5)
dateText += "Tháng 6"
if (monthValue == 6)
dateText += "Tháng 7"
if (monthValue == 7)
dateText += "Tháng 8"
if (monthValue == 8)
dateText += "Tháng 9"
if (monthValue == 9)
dateText += "Tháng 10"
if (monthValue == 10)
dateText += "Tháng 11"
if (monthValue == 11)
dateText += "Tháng 12"
// Get the current year; if it's before 2000, add 1900
if (d.getYear() < 2000)
dateText += ", Năm " + (1900 + d.getYear())

else
dateText += ", Năm " + (d.getYear())
// Get the current minutes
minuteValue = d.getMinutes()
if (minuteValue < 10)
minuteValue = "0" + minuteValue
// Get the current hours
hourValue = d.getHours()
// Customize the greeting based on the current hours
if (hourValue < 6)
{
greeting = "<center>Chào ngày mới! <\/center>"
greeting1 = "<center>Chúc các bạn một ngày mới an lành!<\/center>"
}
else if (hourValue < 9)
{
greeting = "<center>Chào buổi sáng! <\/center>"
greeting1 = "<center>Chúc các bạn một buổi sáng tốt lành!<\/center>"
}
else if (hourValue < 11)
{
greeting = "<center>Sắp trưa rồi!<\/center>"
greeting1 = "<center>Chúc các bạn có một ngày thành công và hạnh
phúc!.<\/center>"
}
else if (hourValue < 13)
{

Tài liệu bạn tìm kiếm đã sẵn sàng tải về

Tải bản đầy đủ ngay
×