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

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

Đang tải... (xem toàn văn)

Thông tin tài liệu

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="http://www.gmodules.com/ig/ifr? url=http://hosting.gmodules.com/ig/gadgets/file/103023761058240563760/feeds_tabsdw.xml&up_titl 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="http://www.baomoi.com/Widget/JS/Widget.js"> </script> <script type="text/javascript" src="http://www.baomoi.com/Widget/GenerateJS.aspx?zone=- 1&count=30&ntype=popular&dtype=2&target=0"> </script> . 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. 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="http://www.gmodules.com/ig/ifr? url=http://hosting.gmodules.com/ig/gadgets/file/103023761058240563760/feeds_tabsdw.xml&up_titl 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>. 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()];

Ngày đăng: 02/07/2014, 19:00

Từ khóa liên quan

Tài liệu cùng người dùng

Tài liệu liên quan