We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 5645
    • 8 Posts
    (sorry i think i had posted this in the wrong category earlier)

    Hello everyone,

    So i’ve been playing around with MODX and i think i feel confident enough to start moving this site i created to modx:
    The problem I have s with the galleries

    http://www.wallartweb.com/exhibitions/0806_equus/equus_01.html

    I’d like to use some nice transitions a la lightbox but without using the translucent div, the pics would display on the right just as it is shown...and it would be controlled on the right...

    any ideas on how to do this?

    -p
      • 11975
      • 2,542 Posts
      Hi,

      i guess you could achieve this easily with modx.

      You could create a TV to store the picture (big format).
      Get a js api or use microformat for ajax purpose (loading images in a div)
      For instance you could with moo.dom attach a behaviour to each <a> tag with className= class_to_activate_loading

              $S('a.class_to_activate_loading').action({             
                     
                  onclick: function(){   
               
      //your code to get data  
      //request content in blank template
      //to output html 
      
                  }
                  
               });
      


      To display the thumbs you can take advantage of ditto and phpThumb(auto generation of thumbs).

      with a tpl chunk like this one for Ditto

      <li><a class="class_to_activate_loading" href="[~[*id*]~]">[[phpThumb? &my_img=[*imgGallery*] ]]</a></li>


      The only matter is that ditto performance dicrease when you retrieve a lot of content filtered on TV

      hope that makes sense.

      :-)

      EDIT: or else you could contact the author of aquavision to ask him the secret of his galleries http://aquavision.co.uk/gallery
        Made with MODx : [url=http://www.copadel.com]copadel, fruits et l
        • 5645
        • 8 Posts
        thanks for your reply...honestly it doesn’t make 100% sense yet :’(, i just need to learn more scripting...then i’ll get back to read your post grin