Jump to content

Character Counter - B-Zone


aDaTa
 Share

Recommended Posts

Am creat un counter (un instrument care masoara) numarul de cuvinte si numarul de caractere dintr-un mesaj, pentru a accesa acest instrument, va rog downloadati: Counter.html .

 

Dupa ce ati downloadat, deschideti fisierul cu google chrome, firefox, internet explorer, etc.

 

PS: Nu pot posta coduri HTML ....

 

VirusScan (0/43 AV's): VirusTotal.com

 

Source code:

 

 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
script_blocat>
<script_blocat="Content-Type" content="text/html; charset=utf-8" />
<title>B-Zone Character Counter</title>
</head>

<body>
<form method="POST">

<p> <strong>Descriere: </strong>Calculeaza si afiseaza numarul de caractere! Folositor atunci cand vreti sa masurati daca mesajul dvs. se incadreaza in limita de caractere.</p>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
  <td width="100%">
<textarea rows="12" name="charcount" cols="60" wrap="virtual"></textarea>
  </td>
</tr>
<tr>
  <td width="100%"><div align="right"><p><script_blocat="button" value="Calculeaza"
  script_blocat="countit(this)"> <script_blocat="text" name="displaycount" size="20"></p>
  <div align="center"><center>
  </center></div></div></td>
</tr>
 </table>
</form>

<p>
 <script language="JavaScript">

function countit(what){

formcontent=what.form.charcount.value
what.form.displaycount.value=formcontent.length
}
</script>
</p>
<p><form method="POST" name="wordcount">
 <p>
<script language="JavaScript">

function countit2(){

var formcontent=document.wordcount.wordcount2.value
formcontent=formcontent.split(" ")
document.wordcount.wordcount3.value=formcontent.length
}
 </script>
 <strong>Descriere: </strong>Calculeaza si afiseaza numarul de cuvinte! Folositor atunci cand vreti sa intrati intr-o factiune si doriti sa aflati daca indepliniti numarul minim de cuvinte!</p>
 <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><script_blocat="button" value="Calculeaza"
  script_blocat="countit2()"> <script_blocat="text" name="wordcount3" size="20"></p>
  <div align="center"><center>
  </center></div></div></td>
</tr>
 </table>
</form></p>
</body>
</html>

Edited by aDaTa
Link to comment
Share on other sites

Am vrut sa vi-l fac cadou, de aceea l-am postat aici !

 

Daca nu ai incredere posteaza source code intr-un notepad si salveaza-l .html, dupa deshide-l cu un browser web ...

Link to comment
Share on other sites

Nu este keylogger. Daca voi credeti ca este keylogger luati codul sursa si inserati-l in notepad. Apoi salvati-l *.html si dechideti-l cu un browser web!

 

Pai masurarea cuvintelor se foloseste atunci cand aplici la o factiune. Unele iti cer: minim 200 cuv. Atunci inserezi ce ai scris in character counter si vedeti cate cuvinte aveti :)

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.