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

Code nhúng ngày tháng năm bằng tiếng việt+Báo mới+Dan trí

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 (59.1 KB, 1 trang )

Code nhúng ngày tháng năm bằng tiếng việt
<script language=”" type=”text/javascript”> <!– // Array ofmonth Names <!– var
monthNames = new
Array(”một”,”hai”,”ba”,”bốn”,”năm”,”sáu”,”bảy”,”tám”,”chín”,”mười”,”mười
một”,”mười hai”); –> var monthNames = new
Array(”01″,”02″,”03″,”04″,”05″,”06″,”07″,”08″,”09″,”10″,”11″,”12″); var dayNames =
new Array(”Chủ nhật,”,”Thứ Hai,”,”Thứ Ba,”,”Thứ tư,”,”Thứ Năm,”,”Thứ Sáu,”,”Thứ
Bảy,”) var now = new Date(); thisYear = now.getYear(); thisDay =
dayNames[now.getDay()]; if(thisYear < 1900) {thisYear += 1900}; // corrections if
Y2K display problem document.write(”Hôm nay : ” + thisDay +” “+”ngày”+” “+
now.getDate() + ” tháng ” + monthNames[now.getMonth()] + ” năm ” + thisYear); // –
> </script>
Code báo dan tri.com
src=" />url= />e=&up_tabFontSize=&up_showFeedDesc=0&up_feed1=Th%C6%B0%20vi%C3%AA%CC%A3n
%20Toa%CC%81n%20-%20Tin%20ho%CC%A3c&up_feedTitle1=Thu%20nho%CC
%89&up_feed2=http%3A%2F%2Fwww.dantri.com.vn%2FSukien.rss&up_feedTitle2=S
%C6%B0%CC%A3%20ki%C3%AA%CC%A3n&up_feed3=http%3A%2F%2Fwww.dantri.com.vn
%2Fvitinh.rss&up_feedTitle3=Tin%20ho%CC%A3c&up_feed4=http%3A%2F
%2Fwww.dantri.com.vn%2Fthuthuat.rss&up_feedTitle4=Thu%CC%89%20thu%C3%A2%CC
%A3t&up_entries=12&up_summaries=200&up_renderHtml=1&up_showTimestamp=1&up_selected
Tab=&synd=open&w=180&h=400&title=&border=%23ffffff%7C3px%2C1px+solid+
%23999999&output=js">
</script>
Code báo mới
<script type="text/javascript"> epi_id = 'epi-widget-container'; epi_width = '185'; epi_height = '500';
epi_border = 1; </script>
<script type="text/javascript" src=" /></script>
<script type="text/javascript" src=" />1&count=30&ntype=popular&dtype=2&target=0">
</script>

×