different themes on the same page
  • I wish I could use different customizations for windows in which to display the content.

    Is there a way to get it?

    thank you very much
  • You can do this by using different selectors for each theme with prettyPhoto 2.5.6.

    For example....

    $("a[rel^='prettyPhoto1']").prettyPhoto({ theme: 'dark_rounded' });
    $("a[rel^='prettyPhoto2']").prettyPhoto({ theme: 'light_square' });

    Now everything with rel='prettyPhoto1' will use the dark_rounded theme. Everything with rel='prettyPhoto2' will use the light_square theme. Make sense?


    Matt.
  • Where do you place this code to do this?
  • in to index.html page

Howdy, Stranger!

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