This topic has been archived. It cannot be replied.
枫下沙龙 / 站务管理 / Sailer, Roller & Jabbour (sorry if I missed anyone), can you do a simple JavaScript, so that I..
-ztech(ztech);
2001-10-19{4071}(#229803@0)
本文发表在 rolia.net 枫下论坛the number of charaters are controlled before poster click the submit button? Something like this:
---
<html>
<head>
<script LANGUAGE="JavaScript">
<!--
okayToSendMessage=true;
I think it's easy, but have no time to go through your code. Send me you phone number, we can have a talk.
-eglington(eglington);
2001-10-20(#230354@0)
rolia.com has similar function, please check the source code of this page:
-sailor(Sailor);
2001-10-20(#230434@0)
I didn't make myself clear enough, I suggest an <INPUT> on Rolia, so that I can watch the number of characters WHILE I'm typing. It'd a little
-ztech(ztech);
2001-10-20{233}(#230684@0)
necessary if Rolia can fix the bug: with certain browser, after I was told that I had exceeded the number of the characters for title, I wouldn't be able to resent my post, because it said "Your message has already been posted"...
Thanks, I'll fix it.
-sailor(Sailor);
2001-10-20(#230711@0)
maybe this is what you want.
-sailor(Sailor);
2001-10-20{531}(#230714@0)
<script language="javascript">
function changeHints(){
var l=strlength(document.frmAnnounce.subject.value)
if (l<=100) {
if (document.all!=null)
document.all("hints").innerText="还可以输入"+(100-l)+"字节"
}
return true
}
</script>