We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 10226
    • 412 Posts
    I would like to switch my site over to mootools in efforts to make my pages load faster. Everything is already solved except my FAQ page. My faq page is rendered by Ditto, each q&a is held in it’s own page. Looking at the mootools examples, I would need to write a chunk of js for every question - If I understand correctly (which I may not). Having to do it this way would make the page rather bulky compared to what I use now...

    http://sweetskies.fruitwerks.us/faq.php

    and having to populate the needed js inline with Ditto would require some template butchering, but I think it is possible. I would really like to use the slide and not the accordion, it is kinda clumsy to me, and my wife doesn’t like it (and this is her site). I posted my question on the mootools forum but I do not think anyone has been able to wrap their head around issue.

    Thanks
      • 19889
      • 616 Posts
      Quote from: fruitwerks at Aug 31, 2007, 11:38 AM

      I would like to switch my site over to mootools in efforts to make my pages load faster. Everything is already solved except my FAQ page. My faq page is rendered by Ditto, each q&a is held in it’s own page. Looking at the mootools examples, I would need to write a chunk of js for every question - If I understand correctly (which I may not). Having to do it this way would make the page rather bulky compared to what I use now...

      http://sweetskies.fruitwerks.us/faq.php

      and having to populate the needed js inline with Ditto would require some template butchering, but I think it is possible. I would really like to use the slide and not the accordion, it is kinda clumsy to me, and my wife doesn’t like it (and this is her site). I posted my question on the mootools forum but I do not think anyone has been able to wrap their head around issue.

      Thanks


      are you looking for something like this: http://trade.ch/index.php?id=109
        • 14050
        • 788 Posts
        I do something similar with Ditto, and a slide effect, but I use jQuery. Is this what you are talking about:

        http://www.blueskyvineyard.com/wine-selection
          Jesse R.
          Consider trying something new and extraordinary.
          Illinois Wine

          Have you considered donating to MODx lately?
          Donate now. Every contribution helps.
          • 10226
          • 412 Posts
          mmjaeger;

          Ahh yeah that is nice, and very similar to what I have. But I would like to do it with mootools. I am trying to reduce load times because that is what people are complaining about. But I have loaded my site via proxies from around the globe and it loads just as fast (or faster) than any other page.

          jesster444;

          that is what I am talking about, but jquery is not all that smooth and it breaks almost everything on my site.
            • 14050
            • 788 Posts
            Yeah, I wanted to do it with Mootools, but it looked like it would require inline javascript, or having to statically create the javascript for each document that you wanted to do a slide effect for. Not sure why they do not have a method for doing the slide similar to the way jQuery handles it.
              Jesse R.
              Consider trying something new and extraordinary.
              Illinois Wine

              Have you considered donating to MODx lately?
              Donate now. Every contribution helps.
              • 10226
              • 412 Posts
              OK - there is my answer.. I would have to do the inline js for each item. possible, but I have yet to get a static example working.

              I will post my code when I figure it out.. well probably wouldn’t be much help to anyone. We will see!

              Thanks!
                • 19889
                • 616 Posts
                Quote from: fruitwerks at Aug 31, 2007, 12:34 PM

                OK - there is my answer.. I would have to do the inline js for each item. possible, but I have yet to get a static example working.

                I will post my code when I figure it out.. well probably wouldn’t be much help to anyone. We will see!

                Thanks!

                @fruitwerks: I am using mootools to do the slide on the faqs.
                  • 10226
                  • 412 Posts
                  hmm did not see it in your source.. are you using static or dynamic content?
                    • 19889
                    • 616 Posts
                    I’m using ditto for the faqs
                      • 14050
                      • 788 Posts
                      You mind elaborating on the Mootools javascript you are using to render the slides? THe mootools slides do render a llot smoother than the jQuery ones.
                        Jesse R.
                        Consider trying something new and extraordinary.
                        Illinois Wine

                        Have you considered donating to MODx lately?
                        Donate now. Every contribution helps.