Welcome to WebmasterWorld Guest from 54.162.151.77

Forum Moderators: open

Message Too Old, No Replies

DIV visibility = hiddent

Is content indexed by search engines

     
10:04 pm on Feb 18, 2012 (gmt 0)

Full Member

5+ Year Member

joined:Oct 22, 2010
posts:302
votes: 0


If I use a Jquery script to open and close a div with some graphics and text and the initial state is hidden, will search engines be able to index that content?
1:37 am on Feb 19, 2012 (gmt 0)

Senior Member from US 

WebmasterWorld Senior Member lucy24 is a WebmasterWorld Top Contributor of All Time 5+ Year Member Top Contributors Of The Month

joined:Apr 9, 2011
posts:15700
votes: 810


Do you mean "hidden" as in "it's not there", or do you mean "hidden" as in "style = 'visibility: hidden'"?

I ask this because there's a second thing to worry about: search engines don't like it when the content they see is different from the content that humans see. So you have to make it clear to the search engine that you're not trying to fool anyone, it's just part of your visual design.

On the main question: The major search engines are getting good at reading javascript-- even when you don't want them to :( If something is present at all, they will probably find it.
2:19 pm on Feb 19, 2012 (gmt 0)

Full Member

5+ Year Member

joined:Oct 22, 2010
posts:302
votes: 0


I meant

style = 'visibility: hidden'

So then when the user clicks something it becomes visible
12:03 am on Feb 20, 2012 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Nov 3, 2005
posts:1585
votes: 0


Consider not having it hidden in html and hiding it on page load instead. Non javascript clients will see see it.

Search engine treatment of hidden is speculative. As it common practice for menus etc, modest use should be Ok, provided hidden stuff is not spam.

I assume all the content is in the initial page and not downloaded via ajax.
4:51 pm on Feb 20, 2012 (gmt 0)

Full Member

5+ Year Member

joined:Oct 22, 2010
posts:302
votes: 0


Yeah it's all in the HTML and is just like, open to see more info = text and photos
7:32 pm on Feb 22, 2012 (gmt 0)

Full Member

5+ Year Member

joined:Oct 22, 2010
posts:302
votes: 0


So nobody has tried this? It should be pretty easy to test...I guess I'll test it