Search
Recommended Sites
Related Links






   

Informative Articles

An Easy Way To Include RSS In A Web Site
RSS has become a very important issue for web site promotion. This method helps to update web sites daily. A web site will always look actual. Why is RSS important? Visitors like always fresh content on a web site. A web site is...

DigitalPoint COOP Ad network
Link Popularity is important for any online business, and a powerful new text-link network has emerged on the radar, and best of all, it's free. One of the internet leaders in Search Engine Optimization and Webmaster Tools, DigitalPoint (PR7)...

Dreamweaver: Your Professional Touch
Dreamweaver is sometimes seen as FrontPage's main competitor but, really, there's not even a comparison to be made. Dreamweaver might be expensive, sure, but there are serious web designers out there using it and getting work done - I...

Four Types of Ads To Avoid If You Want To Keep Your Visitors Happy!
It seems like most web sites are displaying ads on their web pages these days. Some ads are not too noticeable while others are so annoying that they push visitors away and possibly make them leave the site. Pushing away visitors or...

Rating Internet Ebook Creator Software Programs
The purchased software is user-friendly with easy-to-follow help files that not only guide you through the steps of compiling your Ebook, but also explains what an Ebook compiler does. The software provides detailed instructions on how to create...

 
Two Easy Ways To Optimize Your JavaScript


Did you know that JavaScript can damage search engine rankings? This article gives you two easy ways to make the JavaScript on your web site more search engine friendly, improve your search engine position, and give your traffic levels a nice boost.
Many web sites, even those owned by people we all think of as gurus in the Internet marketing business, have large blocks of JavaScript at the top of their web pages, sometimes running to dozens of lines of code.
But did you know that this common practice can have a negative effect on your search engine listings, by pushing your major keywords down the page?
In terms of search engine ranking, it's generally accepted that the higher your keywords are on the page, the better.
This easy-to-follow article will give you two easy ways to make the JavaScript on your web site more search engine friendly, improve your search engine position, and give your traffic levels a nice boost.
1. Move the script to the bottom of the page
This is the easiest method. A lot of JavaScript code can be moved to just above the closing body tag on your web page, without affecting the functionality of your web site.
The best way to do this is simply to test it out and see if it works - if you don't experience any adverse effects and your site appears to continue to perform normally, stick with it.
Your keywords will suddenly be much higher up the page, and your site may even load quicker too with all the code at the bottom.
If you wish, you can also combine this method with the second method as described below.
2. Externalize the script into a .js file
This method has the added advantage that the external .js file containing your JavaScript is often cached in your web visitor's browser, meaning that on subsequent visits your web page will load faster.
It also means you can have the same code on a number of different pages, yet only have a single file to modify and maintain when you want to adjust the script.
Here's how you do it:
Your JavaScript will look something like the following:
Ignoring the opening and closing script tags, and the comment tags if you have them, copy the code in the middle into a brand new plain text file - for example, paste the code into a plain text editor like Notepad (don't be tempted to use something like MS Word).
Save this file with a .js extension, for example, 'mycode.js', and upload this page to your server to the same directory as the web page.
To make your web page reference this new .js file, replace the existing JavaScript as shown in the example above, with a single line in the following format: Just replace 'mycode.js' with the name of your own .js file.
Upload your modified web page to your server and test.
And there you have it - a smaller page, improved keyword positioning, quicker load times for your visitors, and easier script maintenance.
As stated above, both these methods can easily be combined if you wish, too.
About the Author
Technical e-marketer Steve Shaw reveals the technology behind e-marketing, the stuff the techies don't tell you. Find out more information at http://takanomi.com/newsletter


Sign up for PayPal and start accepting credit card payments instantly.