- 16/10/05
- 1,574
- 12
Tôi up mấy đoạn code vào mấy mục cậu nói rồi mà chẳng thấy cá vàng đâu, chẳng thấy trang chủ đâu cả, giải thích giùm !
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Tôi up mấy đoạn code vào mấy mục cậu nói rồi mà chẳng thấy cá vàng đâu, chẳng thấy trang chủ đâu cả, giải thích giùm !

Tớ ko thể thực hiện được mấy lệnh như , , [COLOR], v...v
Giúp tớ với Kain !
Cho mình xin code hiển thị attach file. Làm sao attach nhiều file lên IF được vậy???


[COLOR="deepskyblue"]<script type="text/javascript">[/COLOR]<!--
/*
*/
var max=10
var url_site=window.location.href.split('?')[0] + "?act=site"
var d=new Date()
var month =d.getMonth()+ 1
var datePost= month + "-" + d.getDate()
var iNew
if( window.XMLHttpRequest ) {
iNew = new XMLHttpRequest();
iNew.onreadystatechange = function(){
getNews();
}
iNew.open("GET",url_site,true);
iNew.send(null);
} else if( window.ActiveXObject ){
iNew = new ActiveXObject("Microsoft.XMLHTTP");
iNew.onreadystatechange = function(){
getNews();
}
iNew.open("GET",url_site,true);
iNew.send(null);
}
function getNews(){
if(iNew.readyState == 4&&iNew.status == 200 ){
var List=iNew.responseText
var showPost ="<table width=100% class=row1 align=center><tr><td width=40% class=row1><FIELDSET><b>Bài Viết</b></td><td width=40% class=row1><FIELDSET><b>Người Viết Cuối @ Thời gian viết</b></td><td width=10% class=row1><FIELDSET><b>Đọc</b></td><td width=10% class=row1><FIELDSET><b>Trả lời</b></td></tr>"
for(i=0; i<max; i++)
if(List.match("div class='row2' style='padding:3px'><strong>(.*)style='text-decoration:none;font-size:10px'>(.*)<\/a><\/strong><\/div>\n<div class='desc' style='padding:3px'>\n(.*)\n.*<br />Read:(.*) Comments:(.*)")){
var nLink =RegExp.$1
var nThread = RegExp.$2
var nAuthor = RegExp.$3
var nRead =RegExp.$4
var nReply =RegExp.$5
if(nAuthor.split(';')[1].match(datePost)){
var da="[<font color=red>Mới</font>]"}else{var da="[<font color=pink>Cũ</font>]"}
showPost +="<tr><td>" + nLink + ">" + da + nThread + "</a></td><td>" + nAuthor + "</td><td>" + nRead+ "</td><td>" + nReply + "</td></tr>"
List=List.split(nThread)[1]
}
document.getElementById("ngoinhachung-edu-ms").innerHTML= showPost + "</table>"
a=document.getElementById("ngoinhachung-edu-ms").getElementsByTagName('A')
for(k=0;k<a.length;k++)if(a[k].href.match('showtopic='))a[k].href+="&view=getnewpost"
}
}
//-->
[COLOR="DeepSkyBlue"]</script>[/COLOR]
Attach file thì nó sẽ tự động hiển thị ở dưới bài viết , bạn xin code hiển thị là sao ?
IF nó giới hạn dung lượng attach , bạn có muốn attach bao nhiêu thì cũng phải nhìn dung lượng nó dành cho bạn chứ![]()
<script type="text/javascript" src="URL của đoạn mã bạn vừa Upload lên"></script>
yến ơi cho mình nhờ chút. Mình đang làm 1 cái web như bạn hướng dẫn nhưng không việt hóa và chuyển bộ gõ được, có lẽ do các link cũ bị die rùi, bạn có thể hướng dẫn lại dùm không? (cho các đoạn code mới chẳng hạn). Cám ơn bạn nhiều