Javascript hidden divs, links to anchor content
-
Hello,
I am working on a web project that breaks up its sections by utilizing hidden divs shown via javascript activated through anchor links.
- First question: Is this SEO suicide? I have confirmed that the content is being indexed by searching for specific text but have been led to believe that hidden div content will be afforded a lower 'importance'. One suggestion has having the text as display:block and then hiding it on page load. Will this make a difference?
- Second: Is there any way to have Google index the anchored content by the specific anchor text?
An example for the second question: If you search google right now for:
buyers like to look at floorplans Tom & Jan
You will get a link to:
but I would rather it be:
[http://www.janandtom.com/#Interactive Floorplans](http://www.janandtom.com/#Interactive Floorplans)
Sorry if this is redundant or addressed before. I tried searching the questions but wasn't getting and definitive direction to go and this project is a little unique for me. Also, I'm just getting my feet we into this 'high-end' seo (new member of SEOMoz) so please bear with me. Any help would be greatly appreciated.
Thanks!
-
The guidline you want to look out for is cloaking, showing one thing to the user and one to the serch engine.
If you are hiding the text and not showing it to the user then you have a problem. if you have some way that the user can click and then see the hidden text you should be ok.
how does google know the difference? i dont know if they can algorthmicaly, but if you rank well a compeditor will look into your site and report you if he can.