CTRL + V

Status
Not open for further replies.
rgdsfgdfgd
 
/* Created by HolySavior of iFusion
Hows My Post v1 ZB
This may not be Edited at all!
*/
function word_count() {
var post_words = document.forms['posting'].post.value.split(/ /g); var count = 0;
for(i=0;i 2) count++;

var iObj = document.getElementById('count');
iObj.innerHTML = "
"+ count+" words over 3 letters";
if(count >= 40){ iObj.innerHTML += "Hows My Post? Excellent Post!";
}else if (count >=10){ iObj.innerHTML += "Hows My Post? Good Post!";
} else if(count < 10){ iObj.innerHTML += "Hows My Post? You can do better than that!";
}
}

function check_count(){
var post_words = document.forms['posting'].post.value.split(/ /g); var count = 0;
for(i=0;i 2) count++;
if(count < 6){
return confirm("Post Length Alert!!\r\n\r\nYour post has only " + count + " words with over three letters. Are you sure you want to add it?");
}
}

var hows_my_post = {
init: function(){
if(location.href.match(/post/) || location.href.match("msg")){
document.getElementById("c_post").innerHTML += "Hows My Post?
";
}

if(document.forms['posting']){
if(document.getElementById('count') )

document.forms['posting'].post.onkeyup = function(){ word_count(); }
if(location.href.match("mode=")){
document.forms['posting'].post_submit.onclick = function(){ return check_count(); }
}
if(location.href.match("msg")) {
document.forms['posting'].submit.onclick = function(){ return check_count(); }
}
}
}
};
 
QUOTE (Lloyd @ November 26, 2008 04:09 pm) compmgmt.msc

^ its a windows program, dont use it, FYI
delete_system32.png
 
In poetry, the early eighteenth century was an age of satire and public verse, and in prose, it was an age of the developing novel.
 
Status
Not open for further replies.
Back
Top