HTML Coding
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
Go Back   SEO Chat ForumsOtherHTML Coding

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread SEO Chat Forums Sponsor:
  #1  
Old July 23rd, 2009, 09:19 PM
always always is online now
Contributing User
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Oct 2007
Posts: 467 always User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 Days 6 h 20 m 8 sec
Number of bans: 1
Reputation Power: 0
I would really appreciate if someone can help with this

I want to use a word counter as link back by putting a link to my site, When you click on it it will take you to were you can copy code with my link back in it to there website but I cant get to work and the only way it will do it is to post the link out side of the space for the word counter. While somoen wrote the code they said anyone could copy and past it to there site.
Here is the link back code.

Get the code to past in to your site for this word counter below or I might take this code and make a clickable link to the code page that says as a text link (anchor Text.
<a href=" ">http://www.webbusinesstoolsonline.com/Code-for-word-counter.html</a

Using the link mentioned above with the code I am about to give you that will be p;aced on a page where you can use the word counter as well as using </textarea><textarea>

the code for the on site word counter and the code between </textarea><textarea>. After reading this code if you know were to put my link in the code below so I can do this By the way I did not write this code I ran across it on the Internet

Please create a link back to my site using<a <a href=" ">http://www.webbusinesstoolsonline.com/Code-for-word-counter.html</a

Here is the code the link goes in.

<textarea><!-- TWO STEPS TO INSTALL WORD COUNT:

1. Copy the coding into the HEAD of your HTML document
2. Add the last code into the BODY of your HTML document -->

<!-- STEP ONE: Paste this code into the HEAD of your HTML document -->

<HEAD>

<SCRIPT LANGUAGE="JavaScript">
<!-- Original: Shawn Seley -->

<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->

<!-- Begin
function CountWords (this_field, show_word_count, show_char_count) {
if (show_word_count == null) {
show_word_count = true;
}
if (show_char_count == null) {
show_char_count = false;
}
var char_count = this_field.value.length;
var fullStr = this_field.value + " ";
var initial_whitespace_rExp = /^[^A-Za-z0-9]+/gi;
var left_trimmedStr = fullStr.replace(initial_whitespace_rExp, "");
var non_alphanumerics_rExp = rExp = /[^A-Za-z0-9]+/gi;
var cleanedStr = left_trimmedStr.replace(non_alphanumerics_rExp, " ");
var splitString = cleanedStr.split(" ");
var word_count = splitString.length -1;
if (fullStr.length <2) {
word_count = 0;
}
if (word_count == 1) {
wordOrWords = " word";
}
else {
wordOrWords = " words";
}
if (char_count == 1) {
charOrChars = " character";
} else {
charOrChars = " characters";
}
if (show_word_count & show_char_count) {
alert ("Word Count:\n" + " " + word_count + wordOrWords + "\n" + " " + char_count + charOrChars);
}
else {
if (show_word_count) {
alert ("Word Count: " + word_count + wordOrWords);
}
else {
if (show_char_count) {
alert ("Character Count: " + char_count + charOrChars);
}
}
}
return word_count;
}
// End -->
</script>

</HEAD>

<!-- STEP TWO: Copy this code into the BODY of your HTML document -->

<BODY>
Get the code for this word counter here
<a href=" ">http://www.webbusinesstoolsonline.com/Code-for-word-counter.html</a><a

<form>
<textarea cols=40 rows=5 name=x>
</textarea>
<br>
<input type=button value="Count Words" OnClick ="CountWords(this.form.x, true, true);">
</form>

<!-- Script Size: 2.04 KB --></a></textarea><textarea>.

Reply With Quote
  #2  
Old July 23rd, 2009, 10:15 PM
1fast72nova's Avatar
1fast72nova 1fast72nova is offline
Contributing User
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Jan 2007
Posts: 346 1fast72nova User rank is Sergeant (500 - 2000 Reputation Level)1fast72nova User rank is Sergeant (500 - 2000 Reputation Level)1fast72nova User rank is Sergeant (500 - 2000 Reputation Level)1fast72nova User rank is Sergeant (500 - 2000 Reputation Level)1fast72nova User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 1 Week 5 h 28 m 3 sec
Reputation Power: 16
can you explain a little better, maybe provide an example on another site b/c i can probably help if i know what you were trying to achieve.

Reply With Quote
Reply

Viewing: SEO Chat ForumsOtherHTML Coding > I would really appreciate if someone can help with this


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump




 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

Request Your Free Technology Downloads!
 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

Request Your Free Technology Downloads!
 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

Request Your Free Technology Downloads!
 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

Request Your Free Technology Downloads!
 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

Request Your Free Technology Downloads!
 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 




© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 2 Hosted by Hostway
For more Enterprise Application Development news, visit eWeek