|
Post by InKiEpIe on Jan 4, 2010 18:58:31 GMT -5
How did you get the word count box on your site? Where did you get it? I really want it for my site. If you could please tell me where you got it, that would be great. Thanks!
|
|
|
Post by Admin on Jan 5, 2010 15:07:18 GMT -5
Huh... I got that thing... Right here. It may take awhile to size it to the correct width of your forum, so I'll explain where you resize it.
Find this part of the code. <td width="100%"><textarea rows="12" name="wordcount2" cols="60" wrap="virtual"></textarea></td>
Where it says "cols="60" , change the 60 to a smaller number to make it narrower, or a higher number to make it wider.
Now find name="wordcount3" size="20">
Change the "20" to a smaller width to make the "Word count" button, and the input field, a smaller size, or make it bigger to widen it. It will take awhile to mess around with the code and get it to the right width. Good luck. :]
|
|
|
Post by InKiEpIe on Jan 7, 2010 13:36:30 GMT -5
The site link you gave me does not work. You might want to correct the link. Otherwise thank you so much for the code. Is the code you have? I think I might have gotten it. How did you get it to be the left of your forum?? I want it to be on the right of mine. <form method="POST" name="wordcount"> <script language="JavaScript">
function countit(){
/*Word count script By JavaScript Kit (http://javascriptkit.com) Over 400+ free scripts here! */
var formcontent=document.wordcount.wordcount2.value formcontent=formcontent.split(" ") document.wordcount.wordcount3.value=formcontent.length } </script> <table border="0" cellspacing="0" cellpadding="0"> <tr> <td width="100%"><textarea rows="12" name="wordcount2" cols="60" wrap="virtual"></textarea></td> </tr> <tr> <td width="100%"><div align="right"><p><input type="button" value="Calculate Words" onClick="countit()"> <input type="text" name="wordcount3" size="20"></p> <div align="center"><center><p><font face="arial" size="-2">This free script provided by</font> <font face="arial, helvetica" size="-2"><a href="http://javascriptkit.com">JavaScript Kit</a></font></p> </center></div></div></td> </tr> </table> </form>
|
|
|
Post by Admin on Jan 7, 2010 14:08:35 GMT -5
Yes, that's the code. And to get it on the right side of the forum, go here and copy and paste the code you want. There's a newer version of that code but I do not understand how to use the newer version xD.
|
|