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. Technical SEO Issues
    4. Question about collapsible/Expandable

    Question about collapsible/Expandable

    Technical SEO Issues
    6 4 748
    • 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.
    • danatanseo
      danatanseo last edited by

      I will premise this question by saying I am not a developer, so please forgive my ignorance on this one.

      Is there a way to achieve an expandable/collapsible

      without relying on javascript?

      Thanks all!

      Dana

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

        Here is what I have found, a solution using CSS3 - http://www.cssportal.com/css3-preview/showing-and-hiding-content-with-pure-css3.htm.

        Not sure how well it works across all different browsers though.

        1 Reply Last reply Reply Quote 1
        • djlaidler
          djlaidler last edited by

          Hi Dana,

          Not that I'm aware of.  The only way to respond to an action via the browser is using javascript in some way.

          Dan

          1 Reply Last reply Reply Quote 1
          • danatanseo
            danatanseo last edited by

            Thanks so much. This rings a bell now. I think I read this or something like it because something told me it was possible. I just don't code enough to keep up with some of these things! Thanks much!

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

              Hi Dana, in case you are using a platform like Magento, WordPress, Drupal, Joomla, etc. this functionality may all ready be built in to your theme without having to reinvent the wheel. Can you share a URL and I'll see if I can help you?

              danatanseo 1 Reply Last reply Reply Quote 0
              • danatanseo
                danatanseo @Timmmmy last edited by

                Hi Tim,

                Most likely this isn't built-in to what we've got as we are on a very archaic, custom-coded site. Still, here's a URL just in case you might have any insights:

                http://www.ccisolutions.com/StoreFront/product/cad-gxl2200

                Let me know what you think (other than the site was coded when dinosaurs still roamed the earth) 🙂

                Dana

                1 Reply Last reply Reply Quote 0
                • 1 / 1
                • First post
                  Last post
                • How to resolve warning of pages with redirect chain when its your http:// to https://www.
                  VelocityWebsites
                  VelocityWebsites
                  0
                  3
                  186

                • From: http://www. to https://
                  Tymen
                  Tymen
                  1
                  4
                  121

                • Google has indexed m.freedomltd.com/hen-nights/party-locations/london//cocktail-training/ missing a folder.
                  GPainter
                  GPainter
                  0
                  5
                  106

                • Http:// to https:// 301 or 302 redirect
                  Kingof5
                  Kingof5
                  1
                  7
                  284

                • /forum/ or /hookah-forum/
                  Heydarian
                  Heydarian
                  0
                  4
                  359

                • Http:// vs http://www.
                  fun52dig
                  fun52dig
                  0
                  8
                  474

                • I have a site that has both http:// and https:// versions indexed, e.g. https://www.homepage.com/ and http://www.homepage.com/. How do I de-index the https// versions without losing the link juice that is going to the https://homepage.com/ pages?
                  fthead9
                  fthead9
                  0
                  3
                  729

                • New website branding, differences between http://www and http://
                  PathInteractive
                  PathInteractive
                  1
                  10
                  1.3k

                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