P
pisoga
New Member
Đêm qua xem bóng + chế code này, đảm bảo ngon lành và có thể design quote theo ý thích 
hướng dẫn cài:
- wap2 / style for content forum chat / own style hay global thì tùy từng wap / set style for messager / ô 1 nhé
- tạo
- đề mô Test quote nhiều lần cho wapka : Thông báo chung
hàng độc đó nha, coppy ghi giùm cái nguồn http://kenh4share.com

hướng dẫn cài:
- wap2 / style for content forum chat / own style hay global thì tùy từng wap / set style for messager / ô 1 nhé
- tạo
- vào footer forum up code sau QUOTE ĐỂ COPPY<div name="k4smsg">::msg::</div>
Code:
<script language="javascript">
var msg=document.getElementsByName("k4smsg");
for(var i=0;i<msg.length;i++){
var txt=document.getElementsByName("k4smsg")[i].innerHTML;
var txt=txt.replace(/(^|[\n ])([\w]+?:\/\/[^ ,\"\n\r\t<]*)/ig, "$1$2");
txt=txt.replace(/\[quote\]/ig, "<div class='quote'>");
txt=txt.replace(/\[\/quote\]/ig, "</div>");
txt=txt.replace(/\[quote=(.+?)\]/ig, "<div class='quote'><b>Trích dẫn $1</b><br/>");
document.getElementsByName("k4smsg")[i].innerHTML=txt;
}
</script>
hàng độc đó nha, coppy ghi giùm cái nguồn http://kenh4share.com