We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 2091
    • 44 Posts
    I’ve got a page, with three tabs that use some javascript to display them. One of the tabs has the Jot snippet and it’s not displaying correctly. The form for adding a comment shows up, but the comments themselves aren’t there. But when I view the source, it’s all there.

    Could the tabs be causing this possibly?

    Thanks.
      • 4310
      • 2,310 Posts
      If it’s in the source code then IMHO the CSS or JS are setting it not to display.
        • 28042 ☆ A M B ☆
        • 24,524 Posts
        I’ve had headbanging issues with weird CSS where one element was overlapping another, for example some links on a menu worked while others could be seen but didn’t work; giving the menu’s container a high z-index fixed the problem in that case. Other times things are hidden completely. I’ve had floats break so that one section is clear off the screen and I simply didn’t notice, and couldn’t figure out why it wasn’t showing until I happened to scroll down for some reason.
          Studying MODX in the desert - http://sottwell.com
          Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
          Join the Slack Community - http://modx.org
          • 2091
          • 44 Posts
          Yeah, it was a CSS issue. I had divs set to "display:none". I gave all the jot divs a class and set display:block.
            • 4310
            • 2,310 Posts
            We’ve all done it, well I know I have!