The Moz Q&A Forum

    • Forum
    • Questions
    • My Q&A
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

    Browse the forum for helpful insights and fresh discussions about all things SEO.

    1. SEO and Digital Marketing Q&A Forum
    2. Categories
    3. Search Engine Trends
    4. Javascript hidden divs, links to anchor content

    Javascript hidden divs, links to anchor content

    Search Engine Trends
    2 2 702
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • MASSProductions
      MASSProductions last edited by

      Hello,

      I am working on a web project that breaks up its sections by utilizing hidden divs shown via javascript activated through anchor links.

      http://www.janandtom.com/

      • 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:

      http://www.janandtom.com

      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!

      1 Reply Last reply Reply Quote 0
      • AlanMosley
        AlanMosley last edited by

        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.

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post
        • Do the back-links go wasted when anchor text or context content doesn't match with page content?
          Chris.Menke
          Chris.Menke
          0
          3
          63

        • Sub-domain with spammy content and links: Any impact on main website rankings?
          MikeTek
          MikeTek
          0
          3
          103

        • Ecommerce SEO: Is it bad to link to product/category pages directly from content pages?
          EGOL
          EGOL
          0
          4
          1.1k

        • How Does Google Treat External Links to URLs with # Anchors?
          SAMarketing
          SAMarketing
          0
          4
          1.7k

        • I think my inbound link anchor text looks un-natural to google - How to fix?
          anthonydnelson
          anthonydnelson
          0
          2
          149

        • Linking Root Domains has 394 Links But Google "link:www.animhut.com" has 177
          Esaky
          Esaky
          0
          3
          250

        • Excessive internal links. Should I remove the footer links?
          gcdtechnologies
          gcdtechnologies
          0
          5
          1.8k

        • To use the same content just changing the keywords could be seen as duplicate content?
          EGOL
          EGOL
          0
          4
          748

        Get started with Moz Pro!

        Unlock the power of advanced SEO tools and data-driven insights.

        Start my free trial
        Products
        • Moz Pro
        • Moz Local
        • Moz API
        • Moz Data
        • STAT
        • Product Updates
        Moz Solutions
        • SMB Solutions
        • Agency Solutions
        • Enterprise Solutions
        • Digital Marketers
        Free SEO Tools
        • Domain Authority Checker
        • Link Explorer
        • Keyword Explorer
        • Competitive Research
        • Brand Authority Checker
        • Local Citation Checker
        • MozBar Extension
        • MozCast
        Resources
        • Blog
        • SEO Learning Center
        • Help Hub
        • Beginner's Guide to SEO
        • How-to Guides
        • Moz Academy
        • API Docs
        About Moz
        • About
        • Team
        • Careers
        • Contact
        Why Moz
        • Case Studies
        • Testimonials
        Get Involved
        • Become an Affiliate
        • MozCon
        • Webinars
        • Practical Marketer Series
        • MozPod
        Connect with us

        Contact the Help team

        Join our newsletter
        Moz logo
        © 2021 - 2026 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
        • Accessibility
        • Terms of Use
        • Privacy