Pretty Photo Multiple Styles Issue
  • All,

    I'm trying to get prettyPhoto to do multiple styles / customizations depending on which rel. I specify. Here's the code:

    http://pastebin.com/8tt6cjqe


    $(document).ready(function(){
    $("a[rel^='prettyVid']").prettyPhoto({
    default_width: 640,
    default_height: 385,
    flash_markup: ''
    });
    $("a[rel^='prettyPhoto']").prettyPhoto();
    });


    It's odd because either of those (prettyPhoto or prettyVid) work just fine on their own, but when I add both to the read(function) like above, then neither of them work at all.

    Any help would be appreciated!

    Tim

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!