We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 19872
    • 1,078 Posts
    What's the secret for accomplishing that home page treatment on MODX.com? How do you get the image to remain filling the screen to the bottom until the user scrolls? Very cool. Can it be set up as a slider?
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      It's just a background image for the first section of the page. That's pretty basic for any of the "one-page" sites.
        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
        • 19872
        • 1,078 Posts
        Thanks Susan. Now I know better what I'm looking for to research this. I actually have a great source for one page responsive setup.

        Ideally, I'd like to put a slider in there and have a few images slides in. Kind of like at this site. http://mjau-mjau.com
          • 28042 ☆ A M B ☆
          • 24,524 Posts
          Yeah, I've done something similar. There's a JQuery slider that supports progressive image loading that is great for dealing with large images like this. http://jquery.malsup.com/cycle2/demo/progressive.php
            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
            • 28042 ☆ A M B ☆
            • 24,524 Posts
            Hm. That Imagevue thing that the mjau-mjau site uses is pretty pricey. It's a complete gallery solution, though, as far as I can see. I suspect you can do the same thing with Gallery or MIGx and the cycle2 javascript.
              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
              • 19872
              • 1,078 Posts
              It is pricey. Might be tricky to integrate. ProjectSeven has some solutions, but they are responsive on their own. I'm working in Foundation 5, so not necessarily in need of an alternate responsive system. Just need the solution for the slider. I use a projectSeven widget sometimes called Image Gallery Magic. I'll research and see if this is an option to obtain the same background image/single-page site type effect.

                • 28042 ☆ A M B ☆
                • 24,524 Posts
                Well, I'm doing it with Cycle2 Javascript, and MIGx for managing the lists of images. Or maybe Gallery. The client needs to cough up some useful images as well as some content, though. I'll post it when it gets to the point of having something to see.
                  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
                  • 19872
                  • 1,078 Posts
                  Thanks Susan. Looking forward to seeing what you've done. Meantime, I'll check out cycle2.
                    • 19872
                    • 1,078 Posts
                    For full screen stuff, I always used to use Backstretch. I like the way it does not distort the image when the window is resized. http://srobbin.com/jquery-plugins/backstretch/
                    Unfortunately, it's not a slider. There's also an item called PageSlide that is pretty cool. I haven't used it.
                      • 28042 ☆ A M B ☆
                      • 24,524 Posts
                      You could either overlay text onto an ordinary slider image using z-index and absolute positioning, or you could use Javascript with a timer to change the background image at regular intervals. Or you could change the element's classname at intervals instead, maybe a simple looping counter and add the counter to the classname.

                      Or maybe use Supersized
                        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