Suggestion for Prettyphoto
The new code is:
$('.gallery-icon > a').each(function() {
var gallid = $(this).closest("div").attr("id");
$(this).wrap('<div class="image_frame scale-with-grid"><div class="image_wrapper"></div></div>');
$(this).prepend('<div class="mask"></div>');
$(this).children('img' );
$(this).css('height', 'auto');
$(this).css('width', '100%');
$(this).attr('rel', 'prettyPhoto['+ gallid +']');
});
the old code was:
$('.gallery-icon > a')
.wrap('<div class="image_frame scale-with-grid"><div class="image_wrapper"></div></div>')
.prepend('<div class="mask"></div>')
.attr('rel', 'prettyphoto[gallery]')
.children('img' )
.css('height', 'auto')
.css('width', '100%');
Thank you.
Rhasaun Campbell
Comments
thanks for your suggestion. We'll consider this of course but if you have any other suggestions, please always leave them always at http://forum.muffingroup.com/betheme/discussion/113/your-suggestions-for-future-updates because this is the place from where we get all ideas for updates.
Thanks!