PDA

View Full Version : [Q] Bác nào sửa giúp em file này với!



RuiLeonhart
15-10-2002, 11:36
Em dùng Snitz 2k 3.4.03. Em đang cài vietuni. Em đã cài được ở trang topic.asp phần quick reply nhưng file post.asp thì lại không được! Bác nào giúp em sửa đi!!!

White_Rose
15-10-2002, 13:22
Bạn mail cho mình vào whiterose@bonbon.net đi. Mình mới bị cắt net phải vào bằng 1269 nên ở nhà không dám dùng lâu :((

RuiLeonhart
15-10-2002, 19:02
OK

RuiLeonhart
17-10-2002, 17:46
Em đã sửa file post của em:

"<textarea cols=""" & intCols & """ name=""Message"" rows=""" & intRows & """ wrap=""VIRTUAL"" onselect=""storeCaret(this);"" onclick=""storeCaret(this);"" onkeyup=""storeCaret(this);"" onchange=""storeCaret(this);"" onkeyup=""initTyper(this);"">" & Trim(CleanCode(TxtMsg)) & "</textarea><br /></td>" & vbNewLine & _

thành:

"<textarea cols=""" & intCols & """ name=""Message"" rows=""" & intRows & """ wrap=""VIRTUAL"" onkeyup=""initTyper(this);""onselect=""storeCaret(this);"" onclick=""storeCaret(this);"" onkeyup=""storeCaret(this);"" onchange=""storeCaret(this);"" >" & Trim(CleanCode(TxtMsg)) & "</textarea><br /></td>" & vbNewLine & _

và dánh được tiếng Việt rồi. Nhưng em không hiểu tại sao! Ai biết giải thích giùm em với! (sorry WhiteRose vì em tưởng anh là ... vì nghe cái tên anh nó lãng mạn quá lol !!!)

White_Rose
17-10-2002, 23:26
initTyper(this) hay telexingVietUC(this) đều được cả mà.

BlueDragon
19-10-2002, 14:35
hê hê ! cái này thì u coi lại đoạn code của mình đi


"<textarea cols=""" & intCols & """ name=""Message"" rows=""" & intRows & """ wrap=""VIRTUAL"" onselect=""storeCaret(this);"" onclick=""storeCaret(this);"" onkeyup=""storeCaret(this);"" onchange=""storeCaret(this);"" onkeyup=""initTyper(this);"">" & Trim(CleanCode(TxtMsg)) & "</textarea><br /></td>" & vbNewLine & _

đã đùng
onkeyup=""storeCaret(this);"
lại dùng thêm
onkeyup=""initTyper(this);""
BÁc nên xoá bớt một cái onkay up phái trên .còn tại sao hoạt động được ư .do bác để onkeyup=""initTyper(this);"" ở trước onkeyup=""storeCaret(this);" thôi .

RuiLeonhart
19-10-2002, 17:12
Hê hê! Không được bỏ đâu BlueDragon ạ! Tui sửa vậy là đúng rồi đó. Tôi là tôi hỏi lý do sửa vậy kìa! :D

White_Rose
19-10-2002, 20:49
cái storeCaret hình như dùng để lấy vị trí (hay text) hiện tại trong textarea thì phải (chỉ đoán vậy thôi vì mình không rành JScript)