Page 1 of 1
What does google think about...
Posted: Wed Mar 23, 2011 4:44 pm
by stinger
... links which are hidden in javascript?
For example:
Code: Select all
<a href="javascript:void(0)" onclick="toggle('links')">Links</a>
<div id="links" style="display: none;"><h3>links</h3>
<p>
<a href="#">link</a><br />
<a href="#">Link</a></p>
In this example links appear only after clicking on "Link".
I heard that google understands style "display: none;" and can penalize both sites for using it.
Re: What does google think about...
Posted: Wed Mar 23, 2011 8:07 pm
by CodeR70
And what if that is put in a CSS? AFAIK Google does not download the stylesheets.
Re: What does google think about...
Posted: Wed Mar 23, 2011 10:26 pm
by blogstargirl
Googlebots can't read text in Javascript, Iframes or anything in your CSS (style sheet)
http://www.google.com/support/customsea ... swer=72366
Re: What does google think about...
Posted: Thu Mar 24, 2011 1:52 pm
by redwhiteandblue
It most certainly can, don't believe everything you read. Googlebot will also run Ajax if you are using it.
Re: What does google think about...
Posted: Thu Mar 24, 2011 4:10 pm
by blogstargirl
I'd like to be proven wrong. Where can I find proof to the contrary?
Case:
I wanted to load a WP blog thru an IFrame on a site running a different CMS and was strongly warned in person by an SEO consultant (meaning an SEO consultant who makes a living on SEO only) not to do this because Googlebots won't pick up anything in the IFrame. I was also warned against tweaking another site where I wanted to run Flash and JS to use those selectively, again because Googlebots won't pick up. So if Googlebots now have these capabilities, I'd like to know, because it will impact how I handle my sites as well. I don't believe everything I read, I wanted to support what I posted via the Google Webmaster Central link, but when someone who owns a dedicated SEO biz advises on this, I trust what he tells me.
Re: What does google think about...
Posted: Thu Mar 31, 2011 2:17 pm
by Sexgenoten
Re: What does google think about...
Posted: Thu Mar 31, 2011 6:27 pm
by blogstargirl
Re: What does google think about...
Posted: Thu Mar 31, 2011 8:26 pm
by redwhiteandblue
You don't have to look very far for the answer to this
http://www.webmasterworld.com/google/4159807.htm