admin [—»Sói™~]-[Ðại Ma Ðầu]
Giới tính : Chinese zodiac : Bài viết : 1042 Xu : 158 Thanked : 650 Sinh Nhật : 20/09/1990 Tham Gia : 15/07/2011 Tuổi : 33 Yahoo : Hà Nội Nghề Nghiệp : Giáo Sư Status : hgfggggggggggggg
Character sheet Tài Sản:
| Tiêu đề: Code nguồn bài viết Sat Aug 27, 2011 12:34 pm | |
| Chèn vào posting body : - Code:
-
<table><tr><td> Nguồn: <input name="nguon" /><input type="checkbox" name="checkbox" value="Chấp nhận" onclick="doit()"/>Chấp nhận</td> <script> function doit(){ if (document.forms["post"]["checkbox"].checked==true) {x=document.forms["post"]["message"].value; document.forms["post"]["nguon"].disabled=true; document.forms["post"]["message"].value=document.forms["post"]["message"].value+ "[right]"+document.forms["post"]["nguon"].value+"[/right]"; } else{ document.forms["post"]["nguon"].disabled=false; document.forms["post"]["message"].value=x; }} </script> </tr></table> chèn sau cái này: - Code:
-
<textarea id="text_editor_textarea" class="post" style="width:100%;height:250px" name="message" rows="15" cols="35" tabindex="3" wrap="virtual">{MESSAGE}</textarea> | |
|