JQuery plugins for the SEO

SEO Jquery
Let it never be said that if I see a bandwagon I don't jump on...

Why Javascript in the first place

Javascript and Search Engine Optimisation rarely if ever meet, simply because on the whole Javascript is not indexed by the major search engines in any meaningful way and so for most SEOs what it does is outside of our scope. When Javascript does effect us it is normally because some data we do want to be exposed to search engines is locked in the Javascript. This causes a boiling blood sensation which is why most SEOs have grown to loathe Javascript in all its forms.

Our beef shouldn't however be with Javscript but the designers, in traditional Web Design you design your site to work with the newest browsers and then hack it to work with others this is called graceful degradation but more accurately should be called disaster waiting to happen. Instead a more sensible approach would be progressive enhancement where you start with the lowest common denominator (1 down from a search engine) and build the site so that it is fully functional and then add your enhancements. This means for one thing all the data you wish to be exposed will be available.

JQuery the SEO friend

JQuery is built on the concept of progressive enhancement it builds on top of the DOM layer and uses selectors to trigger code. It also simplifies a lot of tedious jobs indeed the makers claim you can halve the amount of code used in traditional Javscript coding. So what are you waiting for? One of the best resources all be it on the small size is JQuery for Designers recommended by Chris from CSS Tricks.

Now this is the point where I highlight some really cool and amazing effects and say look at how pretty they are and you all um and arrrhhh at them. Well instead I'm going to concentrate on just a couple of useful plugins for SEOs if you want to see the pretty stuff I suggest here, here and here.

Useful Jquery Plugins


JQuery Flash Plugin

If SEO don't like Javascript they hate Flash but the good news is that using Flash substitution techniques we can still provide some SEO benefits. While perhaps not a full replacement for SWFObject this plugin is it JQuery equivalent. It is not as versatile, lacking mobile support being the obvious missing feature but it has I think neater code. I have been using this on several client sites with great effect.

GA Tracker
Continuing the theme here is the JQuery version of the standard Google Analytics code. I found most stats analysts simply stick code in their sites without ever really understanding what it does so if your learning to use Javascript through JQuery it's worth having your common scripts written in a similar manner. You never know you might start playing with some of the more useful features.

JModal
Ok so this one is a fancy script but remarkably useful for creating error messages to lightbox effect. Jquery Modal provides a modal box (where a box appears detached from the site often with a greyed background) which can be styled through css and includes 7 main variants enough for even the most fashion concious designer. Alternatively you could look at Facebox based around Facebook modal look.

Float Example
Flot
Graphing made easy for those who don't want to go down the Flash route or Google nice Chart API Flot is a good alternative, I would like to see more in the way of a mechanism to use the page to hold the data rather then relying purely on external sources. Still a minor thing Flot is still very much a work in development.

Form Validation
One of the traditional uses of Javascript this super easy form validation script works via CSS selectors to determine which fields contain what type of data. The ability to add custom rules makes it a breeze to validate almost any form. Works particularly well when combined with user name availability script.

Of course Javascript has made its come back partly due to AJAX so no round up would be complete without a tutorial on using JQuery and PHP to create AJAX calls to a database. If you come up with a great solution based on JQuery the nice thing is you don't need to keep it to yourself you can distribute it as a plugin their are several guides out their I think this one is one of the best JQuery Plugin Development.

Which JQuery Plugins do you use and why?

RSS feed | Trackback URI | Add your comment!

4 Comments »

Comment by Jansie Blom from Internet works
2008-04-08 19:14:46
Jansie Blom avatar

i’ve long put off learning a scripting language. i find myself struggling badly with it for some reason. CSS i have no problem with at all. maybe this is my chance to get into it. think i’ll give it a go.

Comment by Tim Nash
2008-04-08 19:19:00

If you use CSS heavily and understand selectors you will find JQuery pretty easy to pick up. Their are loads of tutorials now as well so their has never been a better time to learn.

Comment by Jansie Blom from Internet works
2008-04-08 19:23:42
Jansie Blom avatar

thanks tim.

like i said, CSS is no problem. love CSS, in fact. can grasp it. scripting… well, that’s another thing. but this looks great.

yet another good post by the british SEO master. appreciate it. i’m supposed to come over to your country for a few months. would like to pop in and meet the man, if at all possible.

(Comments wont nest below this level)
 
 
 
Comment by Tim Nash
2008-04-08 21:45:44

I’m always up for meet ups :) another good tutorial aimed specifically at web designers is webdesignerwalls though I left it out of the main article simply as it is very visual orientated and I wanted to show JQuery is more then pretty effects.

 

Responses to this post:

dont be an idiot, use a real name and all comments are moderated
Name Your name not your website(required)
E-mail (required - never shown publicly)
Website address (URL)
Web site name will be used as link text
Subscribe to comments via email
Your Comment (smaller size | larger size)
You may use <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> in your comment.
Spam protection: Sum of 5 + 7 ?