inherit
106707
0
Mar 19, 2010 21:14:04 GMT -8
Fernie ..
123
July 2007
fernear
|
Post by Fernie .. on Nov 16, 2007 20:04:02 GMT -8
I have the code to the word counter, but when I put it where the creator said to put it, it wont show up..
|
|
inherit
112753
0
Jul 22, 2008 20:48:59 GMT -8
Virtualize
134
October 2007
virtualize
|
Post by Virtualize on Nov 16, 2007 20:05:59 GMT -8
Url to your board?
|
|
inherit
106707
0
Mar 19, 2010 21:14:04 GMT -8
Fernie ..
123
July 2007
fernear
|
Post by Fernie .. on Nov 16, 2007 20:10:20 GMT -8
|
|
inherit
Resident WWE Fanatic
109125
0
Feb 24, 2022 22:36:56 GMT -8
Candice
?Just because you haven?t heard about it, doesn?t mean it?s a conspiracy theory.?
16,096
August 2007
quietgirl
|
Post by Candice on Nov 16, 2007 20:13:42 GMT -8
Do you mean the code itself won't show up or the part where you can watch the word count?
|
|
inherit
106707
0
Mar 19, 2010 21:14:04 GMT -8
Fernie ..
123
July 2007
fernear
|
Post by Fernie .. on Nov 16, 2007 20:15:47 GMT -8
|
|
inherit
Resident WWE Fanatic
109125
0
Feb 24, 2022 22:36:56 GMT -8
Candice
?Just because you haven?t heard about it, doesn?t mean it?s a conspiracy theory.?
16,096
August 2007
quietgirl
|
Post by Candice on Nov 16, 2007 20:16:55 GMT -8
Well thats for live preview not word count. Word Count is this one
|
|
inherit
106707
0
Mar 19, 2010 21:14:04 GMT -8
Fernie ..
123
July 2007
fernear
|
Post by Fernie .. on Nov 16, 2007 20:27:31 GMT -8
I replaced it with the code you gave by the link, and it still isn't working :/
|
|
inherit
Resident WWE Fanatic
109125
0
Feb 24, 2022 22:36:56 GMT -8
Candice
?Just because you haven?t heard about it, doesn?t mean it?s a conspiracy theory.?
16,096
August 2007
quietgirl
|
Post by Candice on Nov 16, 2007 20:31:17 GMT -8
Are you looking on quick reply for the word count box or on the actual reply page that you get to by clicking reply?
|
|
inherit
106707
0
Mar 19, 2010 21:14:04 GMT -8
Fernie ..
123
July 2007
fernear
|
Post by Fernie .. on Nov 16, 2007 20:40:15 GMT -8
Well, beside the preview I'd like it to say 'Word Counter'' or something, I gtg but could you PM me??
|
|
inherit
Resident WWE Fanatic
109125
0
Feb 24, 2022 22:36:56 GMT -8
Candice
?Just because you haven?t heard about it, doesn?t mean it?s a conspiracy theory.?
16,096
August 2007
quietgirl
|
Post by Candice on Nov 16, 2007 20:41:19 GMT -8
I'm not quite sure what you're asking. Sorry.
|
|
inherit
Official Code Helper
65613
0
1
Apr 15, 2024 17:01:41 GMT -8
Chris
"'Oops' is the sound we make when we improve"
8,870
December 2005
horace
|
Post by Chris on Nov 17, 2007 4:28:52 GMT -8
word count in quick reply boxEdit: The code in the link above actually gives the character count in the quick reply. If you want the word count then try this modified code instead (works on both quick reply and full reply): <script type="text/javascript"> <!-- /* Posting/PM Word Count - created by Eton Bones */
//set to minimum word count needed in order to make a post //or set to 0 to disable word count enforcement. var wordCountLimit=0;
if(document.getElementsByName('message').length){ var __submitBtn,__wc,__msg __msg=document.getElementsByName('message')[0]; __submitBtn=document.getElementsByTagName('input'); for(var count=0;count<__submitBtn.length;count++){ if(__submitBtn[count].accessKey && __submitBtn[count].accessKey=='s'){__submitBtn=__submitBtn[count];break;} } if(typeof(__submitBtn.length)=="undefined"){ __btnText=__submitBtn.value; __wc=document.createElement('div'); __wc.id="wordcount"; __wc.appendChild(document.createTextNode('Word Count: ')); __wc.appendChild(document.createElement('span')); __submitBtn.parentNode.appendChild(__wc); count=__msg.value.match(/\b\w+\b/g); count=(count)?count.length:0; __wc.lastChild.innerHTML=count; if(count<wordCountLimit && !location.href.match(/ion=pmsend/)){__submitBtn.disabled=true;} if(document.addEventListener){ __msg.addEventListener("keyup",wordUp,false); __msg.addEventListener("input",wordUp,false); __msg.addEventListener("change",wordUp,false); }else if(document.attachEvent){ __msg.attachEvent("onpropertychange",wordUp); }else{ __msg.onkeyup=wordUp; __msg.onmouseup=wordUp; __msg.onchange=wordUp; } } }
function wordUp(event){ if(this.document){var thiss=event.srcElement;}else{var thiss=this;} var count=thiss.value.match(/\b\w+\b/g); count=(count)?count.length:0; if(count>=wordCountLimit && wordCountLimit >0 && __submitBtn.disabled){ __submitBtn.disabled=false; } __wc.lastChild.innerHTML=count;
} //--> </script>
|
|