Admin
Admin
Posts : 275
Points : 825
Reputation : 1
Join date : 22/07/2009
Age : 42
Gender :
|
|
Thêm nút chỉnh kiểu gõ AVIM cho forum
|
|
1. Sau khi download file avim.js về thì up lên host của mình. Chèn vào overall_header_new - Code:
-
<script type="text/javascript" src="http://hocnhac.net/4rum/clientscript/avim.js"></script> Sau đó chèn bộ gõ vào forum.( hướng dẫn hình như trong mẹo vặt :D) 2.Template Viewtopic_body: Tìm:
- Code:
-
{QUICK_REPLY_FORM} thay bằng:
- Code:
-
<!-- bo go AVIM --> <div align="right"> <span class="gensmall">Chọn kiểu gõ: <input id="him_auto" onclick="setMethod(0);" type="radio" name="viet_method">AUTO <input id="him_telex" onclick="setMethod(1);" type="radio" name="viet_method">TELEX <input id="him_vni" onclick="setMethod(2);" type="radio" name="viet_method">VNI <input id="him_off" onclick="setMethod(-1);" type="radio" name="viet_method">Off </div> <!--/bo go AVIM --> {QUICK_REPLY_FORM} 3. Template Post & Tin nhắn \ posting_body:
tìm: - Code:
-
<div id="text_editor_select_controls"> thêm phía trước nó: - Code:
-
<!-- bo go AVIM --> <div align="right"> <span class="gensmall">Chọn kiểu gõ: <input id="him_auto" onclick="setMethod(0);" type="radio" name="viet_method">AUTO <input id="him_telex" onclick="setMethod(1);" type="radio" name="viet_method">TELEX <input id="him_vni" onclick="setMethod(2);" type="radio" name="viet_method">VNI <input id="him_off" onclick="setMethod(-1);" type="radio" name="viet_method">Off </div> <!--/bo go AVIM -->
|
|