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 (136.21 KB, 2 trang )
Nhúng từ điển Anh – Việt vào Blog:
o Với đoạn mã nguồn sau Blog của bạn sẽ được trang bị một quyển từ điển ANH – Việt hết sức
chuyên nghiệp.
<script src=” /><script language="javascript">
function doSearch(obj){
window.open(" +
obj.dict.value + "&word=" + obj.word.value, "quickview",
"status=0,toolbar=0,scrollbars=1,width=500,height=400,location=0");
return false;
}
</script>
<form action="
style="margin:0px;" target="_blank" name="dictionary" onsubmit="return
doSearch(this);" method="post">
<div style="padding-bottom:6px"> Dictionary: <br/>
<select style="font-size: 11px; width: 130px;" name="dict">
<option selected="true" value="ev"/>English - Vietnamese
<option value="ve"/>Vietnamese - English
</select></div>
<div> Enter word:<br/>
<input style="font-size: 11px; width: 87px;" name="word" type="text"/>
<input style="font-size: 11px;" value="Go" name="go" type="submit"/>
</div> </form>
<span style="font-size:90%; font-weight: bold;">© <a
href=" target="_blank">Cftanhiep Groups
2009</a></span></p>
o Từ điển Anh Việt hiển thị trên Blog, xem hình 8.