Search code examples
jqueryjquery-uisearch-engineseo

How to maintain SEO while using JQuery to show hidden divs


Im working with jquery ui on many of my websites and I am concerned that any content that is in hidden divs that will be used for a dialog is not search engine friendly and I would like to find out if:

Is content in hidden divs searched/indexed by google?

What is the best practice for using jQuery UI dialogs/tabs or other hidden elements on a webpage? (to ensure the best results for SEO)


Solution

  • This is the guidance that google provides.

    http://www.google.com/support/webmasters/bin/answer.py?hl=en&answer=35769

    Hidden content is also mentioned here:

    http://www.google.com/support/webmasters/bin/answer.py?answer=66353

    Remember the spiders don't execute your js