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!!!
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!!!
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(
OK
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á!!!)
initTyper(this) hay telexingVietUC(this) đều được cả mà.
hê hê ! cái này thì u coi lại đoạn code của mình đi
đã đùng"<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 & _
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 .
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!![]()
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)
Bookmarks