We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 21560
    • 145 Posts
    I hope I won’t disappoint people with high expectations with such an audacious title, but please have a gander at http://nimja.com

    A site completely running in MODx

    Some of the content features:
    • Frozen Youth - 300 chapter long story, on hiatus during Twilight.
    • Twilight - Daily updated/continued story on weekdays
    • Visions - Several styles of graphical exploration
    • Sounds - Synth-Music composed by me,
    • And much more!

    Some of the technical features:
    • Proper templates, content undependable.
    • Breadcrumb navigation and previous/next page
    • Dynamic PDF on demand of Frozen Youth (300 chapter, 450 pages in A4 and always up to date)
    • Dynamic ’unreplied comments’ page for the author, so he doesn’t have to wade through 400+ pages to check for new comments AND doesn’t have his inbox flooded.

    Most of the technical stuff is featured in the forum here. See? I can be nice... ^_^

    Well.. if I’m not lazy, that is.

    Let me know what you think!
      [font=Times]Comics, stories, music, graphics, games and more! http://Nimja.com
      • 7231
      • 4,205 Posts
      Nimja, your site is sure growing fast. I like the transparency in the the text blocks, very cool effect. grin
        [font=Verdana]Shane Sponagle | [wiki] Snippet Call Anatomy | MODx Developer Blog | [nettuts] Working With a Content Management Framework: MODx

        Something is happening here, but you don't know what it is.
        Do you, Mr. Jones? - [bob dylan]
        • 21560
        • 145 Posts
        Well, I’ve done that before, but now I’m working with real ’frames’ that can be any size and only have about a 10px margin, which is fine with me.

        Quite happy with the result, actually.

        Real frames means for me that they consist of 9 pictures that make up the 4 borders, 4 corners and the content and will be stretched/repeated accordingly. That’s why my content stretches both vertically and horizontally without any issues. The menu and search have a dynamic height as well.
          [font=Times]Comics, stories, music, graphics, games and more! http://Nimja.com
          • 7231
          • 4,205 Posts
          Real frames means for me that they consist of 9 pictures that make up the 4 borders, 4 corners and the content and will be stretched/repeated accordingly. That’s why my content stretches both vertically and horizontally without any issues. The menu and search have a dynamic height as well.
          Very nice. grin
            [font=Verdana]Shane Sponagle | [wiki] Snippet Call Anatomy | MODx Developer Blog | [nettuts] Working With a Content Management Framework: MODx

            Something is happening here, but you don't know what it is.
            Do you, Mr. Jones? - [bob dylan]
            • 21560
            • 145 Posts
            As a sidenote: Yes, I use mostly tables for this design. For the plain and simple reason that there’s nothing wrong with html-tables as such. Especially the frame-design gets MUCH more complicated and less browser-compatible with divs/spans.

            Basic frame layout with a table:
            [table][tr][td]tl[/td][td]t[/td][td]tr[/td][/tr][tr][td]l[/td][td]c(with all the content)[/td][td]r[/td][/tr][tr][td]bl[/td][td]b[/td][td]br[/td][/tr][/table]
              [font=Times]Comics, stories, music, graphics, games and more! http://Nimja.com
              • 25663 MODX Staff
              • 12,272 Posts
              Dynamic ’unreplied comments’ page for the author, so he doesn’t have to wade through 400+ pages to check for new comments AND doesn’t have his inbox flooded.

              Is this like a Jot moderation management page? Or just to get to collect all new comments?
                Ryan Thrash, MODX Co-Founder
                Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
                • 21560
                • 145 Posts
                To be honest, it’s just a really quick hack that shows me all the pages where people have commented/replied and I have not yet answered.

                Simple, sweet and useful. ^_^
                  [font=Times]Comics, stories, music, graphics, games and more! http://Nimja.com
                  • 21560
                  • 145 Posts
                  Another recent addition (less than half an hour ago) I’ve changed the site so that the background is fully transparent and I can use any color I desire.

                  Then i programmed a little snippet to generate a color in a gradient for me and use it as the body color. You can see this effect (it’s subtle, but there) every few minutes.

                  It’s actually continuous as soft as RGB allows, but it’s too subtle for the eye to see. But, over the course of an hour or two, the changes should be noticable.

                  ps. The graident color logic took the most time. Integrating it into my theme was a breeze, as is everything with MODx
                    [font=Times]Comics, stories, music, graphics, games and more! http://Nimja.com
                    • 7231
                    • 4,205 Posts
                    That is a very nice gradient, very subtle.

                    Not sure I understood the process? You have a snippet that generates the gradient as an image file? Does it do it for every page render so that every page could have its own color?
                      [font=Verdana]Shane Sponagle | [wiki] Snippet Call Anatomy | MODx Developer Blog | [nettuts] Working With a Content Management Framework: MODx

                      Something is happening here, but you don't know what it is.
                      Do you, Mr. Jones? - [bob dylan]
                      • 21560
                      • 145 Posts
                      Well, I could make every page have it’s own color. And it’s not a graiden,t just a CSS BG color with a PNG on top of it.

                      What I have is a snippet that generated that background-color.

                      The only input is 4 colors, and PHP calculates the fades between them so you won’t see any difference in a short time.

                      I still need to make the whole thing a lot more flexible, so it would take an array of colors as input and make a dynamic gradient out of it.

                      Also, I calculate the ’percentage’ of the day to use for the gradient. Using the simple formula: percentage = (hour + minute/60) / 24
                      This returns 25% for 6am, 50% for noon, etc.

                      And that’s the place in the gradient I use for the ’current’ background.
                        [font=Times]Comics, stories, music, graphics, games and more! http://Nimja.com