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
        • Thousands of duplicate website links at "Who links the most" in Google webmasters. Any risk being duplicate website links pointing to website?
          0
          1
          45

        • Can 'Jump link'/'Anchor tag' urls rank in Google for keywords?
          Andy.Drinkwater
          Andy.Drinkwater
          0
          2
          536

        • Guest Blog Post or Article Content Should be Do-Follow or No-Follow Link ? Help Plz !
          Esaky
          Esaky
          0
          4
          1.7k

        • Content Caching Memory & Removal of 301 Redirect for Relieving Links Penalty
          0
          1
          144

        • Direct Domain Name Anchor Text Spammy Links
          Njave_MCP
          Njave_MCP
          0
          3
          153

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

        • Do links count in syndicated content?
          acs111
          acs111
          0
          2
          146

        • Does Link Exchanges and Reciprocal Links Is Dead - Now Days ?
          Bryan_Loconto
          Bryan_Loconto
          0
          14
          895

        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