views:

33

answers:

2

Hi all,

I've built a web site using jquery to make nice transitions between content.

The code works this way: there are 2 imgs (body and footer) when I click on a link (instead of going to another page) I fade out the 2 imgs and change the src attribute of the 2. When the new imgs are loaded I fade them back in.

I'm using SWFaddress to allow user go directly to internal content.

Now I'd like to make my content indexed by google and other Search engines, all the text content is inside the imgs, So I've got the text in ALT attribute.

My question is: if a dinamically change the imgs ALT attribute using JS, will spiders be able to read it properly? consider that I'm using SWFaddress to create a sitemap..

Thanks

A: 

Search engine robots generally do not process JavaScript. So no.

David Dorward
But it seems that sites using SWFAddress are indexed on google as normal websites, how it works?
Gusepo
If there are normal links, then they get followed and indexed.
David Dorward
A: 

You're doing it wrong.

If you want a website with a lot of JS to be good for both bots and human without JS enabled (think of blinded people with screen reader for instance), you need to develop your website with content in text format and without any javascript.

Then you use high level JavaScript framework like jQuery to replace the content and change the navigation, form submission etc. as you want when the page is loaded (you know, the well-known $(document).ready(function(){/*...*/});.

This way you'll have the good parts of both worlds: "cool" animations and good accessibility (which means good SEO).

p4bl0
You are right, I'm bulding also an accessible version of the site that will be used for non-javascript browsers and mobiles.But I want to avoid visitors coming from google with a normal browser to land in the accessible version.spam
Gusepo