prettyPhoto Live Event with ajax loaded content

By Kannan Damodharan | 0 Comments

Prettyphoto is a wonderfull gallery plugin but when used with ajax loaded content it didn’t work with newly loaded images from ajax request into the dom. Even though there are many solutions posted in internet none seem to work as expected. So after playing around a while i found a simple trick Include jQuery(“a[rel^=’prettyPhoto’]”).prettyPhoto({}); or…

Read More