20 posts
  • Has been part of the Envato Community for over 3 years
  • Sells items exclusively on Envato Market
  • Located in South Africa
Masssh says

I had this problem as well. I asked the developer of Quicksand for help and he told me to learn javascript… I asked the developer of PrettyPhoto for help and the response was ” I don’t have time to fix Quicksand”

Issue Solved!!!!

Screw Quicksand and use jQuery Isotope http://isotope.metafizzy.co/

Just as good if not BETTER than Quicksand. Much easier to use, configure, and implement.

No callback required for prettyPhoto, it just works!

The problem is, isotope isn’t free, http://metafizzy.co/#licenses

I would rather spend money on a good JavaScript Book (jQuery books kind of limit you to jQuery only).

Learn JavaScript, it’s a very useful language to know!

@Genem, I haven’t looked at your code but did you use enhancement to do a function callback? It’s used for custom functions after quicksand sorting?

you can view the documentation here:

http://razorjack.net/quicksand/docs-and-demos.html (look for the “Integration with other plugins” section, before the examples section on the page).

Here’s an example of how you would do a function callback:

$("#content").quicksand($("#data > li"), 
  {
    duration: 1000,
    enhancement:
     function() {
    //callback function, you will add your prettyPhoto function callback here.
    $("/*add selector here*/ a[rel^='prettyPhoto']").prettyPhoto({slideshow:5000, autoplay_slideshow:true});    });
   }
  }
);
586 posts
  • Has been part of the Envato Community for over 5 years
  • Has referred 1+ members
  • Has sold $1,000+ on Envato Market
  • Has collected 10+ items on Envato Market
+3 more
SparkyFlash says

The problem is, isotope isn’t free, http://metafizzy.co/#licenses

I would rather spend money on a good JavaScript Book (jQuery books kind of limit you to jQuery only).

Learn JavaScript, it’s a very useful language to know!

@Genem, I haven’t looked at your code but did you use enhancement to do a function callback? It’s used for custom functions after quicksand sorting?

you can view the documentation here:

http://razorjack.net/quicksand/docs-and-demos.html (look for the “Integration with other plugins” section, before the examples section on the page).

Here’s an example of how you would do a function callback:

$("#content").quicksand($("#data > li"), 
  {
    duration: 1000,
    enhancement:
     function() {
    //callback function, you will add your prettyPhoto function callback here.
    $("/*add selector here*/ a[rel^='prettyPhoto']").prettyPhoto({slideshow:5000, autoplay_slideshow:true});    });
   }
  }
);

Works like a charm :) Thank you for saving me time! Javascript books indeed are a good investment, will pay off in the long run.

586 posts
  • Has been part of the Envato Community for over 5 years
  • Has referred 1+ members
  • Has sold $1,000+ on Envato Market
  • Has collected 10+ items on Envato Market
+3 more
SparkyFlash says

A note: disable the deeplinking in prettyPhoto to escape problems with QuickSand’s sorting.

by
by
by
by
by
by