Content within a toggle, Juice or No Juice?
-
Greetings Mozzers,
I recently added a significant amount of information within a single page utilizing toggles to hide the content from a user and for them to see it they must click to reveal. Since technically the code is reading "display:none" to start, would that be considered "Black Hat" or "Not There" to crawlers? It isn't displayed in any sort of spammy way. It is more for the UX of the visitor that toggles were utilized.
Thoughts and advice is greatly appreciated!
-
It definitely depends on how you're doing it. Without seeing it, I can't say for sure, but usually this method only hides things from the user, not the search engines. I'd recommend running your page through a service that shows you what the spiders see.
Try: http://www.iwebtool.com/spider_view
If you see your text in the results, you're probably safe.
One of the sites I designed, customwovenlabels.com, uses this with javascript. If you go there and look at the copy on the homepage, you will see a link that says, "read more." Google sees all the text and doesn't distinguish the difference between what's initially seen vs. hidden.
So if you discover that your method isn't ideal, there are always other alternatives.
-
Thanks Marisa,
Looks like it shows up there. I appreciate the tip on that tool.

-
Glad I could help. I would just run it through one or two more versions of that tool just for peace of mind. You can just google "spider view tool" and try out a couple others.