The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Word count?

5 posters

Go down

Solved Word count?

Post by Sir. Mayo September 5th 2013, 8:07 pm

Hello,


is there any way i can get a word count in my editor?
See pic for better explanation:
Word count? J5AHsy1
Sir. Mayo
Sir. Mayo
Forumember

Male Posts : 980
Reputation : 90
Language : English, Some french.
Location : you can also reach me on snoonet's irc server. I idle in #Techsupport Username is Vault108

http://sir-mayo.forumotion.com/

Back to top Go down

Solved Re: Word count?

Post by levy September 5th 2013, 9:44 pm

You can't add there but I had something similary

Code:
<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>
<center><table>
    <tbody><tr>
      <td><textarea rows="6" name="wordcount2" wrap="virtual"></textarea></td>
    </tr>
    <tr>
      <td>

<table><tbody><tr><td><input type="button" value="CALCULATE" onclick="countit()"></td><td><input type="text" name="wordcount3" size="5"></td></tr></tbody></table></td>
    </tr>
  </tbody></table></center>
</form>
Add this where you want to count your words , I will try to make similary soon.
levy
levy
Hyperactive

Male Posts : 2632
Reputation : 350
Language : English, Romanian
Location : Romania

https://portofolio.goodforum.net/

Back to top Go down

Solved Re: Word count?

Post by CCDragon September 10th 2013, 12:45 pm

Where do you add this code? In de CSS, templates, where?
CCDragon
CCDragon
Forumember

Female Posts : 29
Reputation : 4
Language : Dutch, English, little French, little Germain
Location : The Netherlands

http://kanto-experience.actieforum.com/

Back to top Go down

Solved Re: Word count?

Post by Ikerepc September 10th 2013, 1:41 pm

It is html code, so in template, but I don't know in what template...
Ikerepc
Ikerepc
Active Poster

Male Posts : 1186
Reputation : 167
Language : Who cares...
Location : Where web help & support is needed

http://admins.forumotion.com

Back to top Go down

Solved Re: Word count?

Post by Sir. Mayo September 10th 2013, 4:19 pm

Thanks Solved!
Sir. Mayo
Sir. Mayo
Forumember

Male Posts : 980
Reputation : 90
Language : English, Some french.
Location : you can also reach me on snoonet's irc server. I idle in #Techsupport Username is Vault108

http://sir-mayo.forumotion.com/

Back to top Go down

Solved Re: Word count?

Post by SLGray September 10th 2013, 6:52 pm

Topic Solved & Locked


Word count? Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51479
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum