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

Một số code nhúng vào web của bạn

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 (47.16 KB, 3 trang )

1- Code cua Google Search:
<form action=" id="cse-search-box">
<img border="0" alt="Google" src=" />einstein-0107.jpg"
<input type="hidden" name="cx" value="012596416485239023597:bdyrt64se6s" />
<input type="hidden" name="ie" value="UTF-8" />
<input type="text" name="q" size="82" /> <input type="submit" name="sa" value="Tìm
kiếm với " />
<input type="radio" name="sitesearch" value="" /> Google <input type="radio"
name="sitesearch"value=" checked="checked" /> ViOLET <input
type="radio" name="sitesearch"value=" checked="checked" />
BloG Lý - Tin </form>
2- Code cua Sap xep:
<div class="content">
<li><a class="selected" href="/entry/sort/type/date">Mới nhất</a></li>
<li><a href="/entry/sort/type/download">Tải/Xem nhiều nhất</a></li>
</div>
3- Code cua Googe Translate:
<form action=" style="margin: 0pt; padding: 0pt;">
<div align="center">
<script type="text/javascript">
<!--
document.write ("<input name='u' value='"+location.href+"' type='hidden' />") //-->
function return_main_translate(){
var myString = document.location.href;
var mySplitResult = myString.split("&u=");
var url = mySplitResult[1].split("&usg=");
window.location = unescape(url[0]);
}
</script>
<input value="" name="u" type="hidden"/>
<input value="" name="u" type="hidden"/>


<noscript>
<input value="" name="u" type="hidden"/>
</noscript>
<input value="vi" name="hl" type="hidden"/>
<input value="UTF8" name="ie" type="hidden"/>
<input value="" name="langpair" type="hidden"/>
<input src=" value="en|vi"
name="langpair" onclick="this.form.langpair.value=this.value" title="Translate this page
to Vietnamese" align="absbottom" type="image"/>
<input src="
value="vi|en" name="langpair" onclick="this.form.langpair.value=this.value"
title="Translate this page to English" type="image" align="absbottom"/>
<input src=" value="vi|zh-CN"
name="langpair" onclick="this.form.langpair.value=this.value" title="Translate this page
to Chinese" type="image" align="absbottom"/>
<input src=" value="vi|ja"
name="langpair" onclick="this.form.langpair.value=this.value" title="Translate this page
to Janpanese" type="image" align="absbottom"/>
<input src=" value="vi|
ko" name="langpair" onclick="this.form.langpair.value=this.value" title="Translate this
page to Korean" type="image" align="absbottom"/>
<br/>
<input src=" value="vi|fr"
name="langpair" onclick="this.form.langpair.value=this.value" title="Translate this page
to France" type="image" align="absbottom"/>
<input src=" value="vi|de"
name="langpair" onclick="this.form.langpair.value=this.value" title="Translate this page
to Germany" type="image" align="absbottom"/>
<input src=" value="vi|es"
name="langpair" onclick="this.form.langpair.value=this.value" title="Translate this page

to Spain" type="image" align="absbottom"/>
<input src="
value="vi|ru" name="langpair" onclick="this.form.langpair.value=this.value"
title="Translate this page to Russian" type="image" align="absbottom"/>
<input src=" value="vi|zh-
TW" name="langpair" onclick="this.form.langpair.value=this.value" title="Translate this
page to Taiwan" type="image" align="absbottom"/>
</div></form>
4- Code cua Lich cua tui:
<script type="text/javascript" language="JavaScript" src="-
leipzig.de/~duc/amlich/JavaScript/amlich-hnd.js">
</script>
<script language="JavaScript">
<!--
setOutputSize("small");
document.writeln(printSelectedMonth());
-->
</script>
<td align="center">
<form name="SelectMonth" action="#amlich"">
Tháng <select name="month"><option value="1">1<option value="2">2<option
value="3">3<option value="4">4<option value="5">5<option value="6">6<option
value="7">7<option value="8">8<option value="9">9<option value="10">10<option
value="11">11<option value="12">12</select>
<input type="button" value="Xem"
onClick="javascript:viewMonth(parseInt(month.value), parseInt(year.value));"><br>
Năm <INPUT NAME="year" size=4 value="2005">
<input type="button" value="Xem" onClick="javascript:viewYear(parseInt(year.value));">
</form>
</td>

</tr>
</table>
<script type="text/javascript">
<!--
getSelectedMonth();
document.SelectMonth.month.value = currentMonth;
document.SelectMonth.year.value = currentYear;
function viewMonth(mm, yy) {
window.location = window.location.pathname + '?yy='+yy+'&mm='+mm+'#amlich';
}
function viewYear(yy) {
var loc = 'js/amlich-namnay.html?yy='+yy;
var win2702 = window.open(loc, "win2702",
"menubar=yes,scrollbars=yes,resizable=yes");
}
//-->
</script><hr>
Cac ban thay the link: thanh link trang web cua ban nhe !

×