We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 5324
    • 16 Posts
    The Screen goes dark but I get no image when using Maxigallery with Slimbox. Any ideas?
      • 7923
      • 4,213 Posts
      you have probably a css collision on the page.. try removing stuff from your site template css file to see what causes it..


        "He can have a lollipop any time he wants to. That's what it means to be a programmer."
        • 5324
        • 16 Posts
        Thanks for the help doze! I completely removed my css file. Now I get the black. The pic and controls are under the black screen and the controls are not accessible. I am developing locally on my powerbook using MAMP. Any ideas?
          • 7923
          • 4,213 Posts
          hmm.. could it be the browser that you use? although, slimbox should be pretty well cross-browser compatible..

          anyways, it sounds like the z-index is too low in the picture container div in slimbox css.. but it should be ok if you have not modified it.. there must be still some css that messes it up.. or maybe you have incompatible doctype in your template?


            "He can have a lollipop any time he wants to. That's what it means to be a programmer."
            • 5324
            • 16 Posts
            Here is my text down to the end of the heading.

            <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

            <head>
            <title>[(site_name)] - [*pagetitle*]</title>
            <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
            <script type="text/javascript" src="assets/snippets/maxigallery/slimbox/js/mootools.v1.1.js"></script>
            <script type="text/javascript" src="assets/snippets/maxigallery/slimbox/js/slimbox.js"></script>
            <link rel="stylesheet" href="assets/snippets/maxigallery/slimbox/css/slimbox.css" type="text/css" media="screen" />
            <link rel="CFFImain" type="text/css" href="assets/templates/CCFI/CCFI.css" />
            </head>
              • 5324
              • 16 Posts
              The only css I can find left on the site is the modx manager css. I am using Safari. I tested in Firefox and it worked. Opera just gave me the pic in a window. Netscape gave me the pic but no black screen.
                • 5324
                • 16 Posts
                Finally! It was the z-index. I simply changed it to 888 for #lbOverlay and 999 for #lbCenter, #lbBottomContainer. Thanks for the help.
                  • 7923
                  • 4,213 Posts
                  good that you got it resolved.. really strange though that the original slimbox css values did not work for you.. maybe the 999999999 is too high number, but I haven’t heard any problems from anyone else and it has worked fine on my environments..

                  anyways, good that it’s resolved.


                    "He can have a lollipop any time he wants to. That's what it means to be a programmer."