Vanilla 2
Discussions
Activity
Sign In
prettyPhoto support
Pretty Photo Multiple Styles Issue
tnoetzel
July 2010
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
Add a Comment
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Apply for Membership
Categories
All Discussions
2,644
General
305
Showoff your stuff!
8
prettyComments support
7
prettySociable support
43
WP-prettyphoto support
179
prettyCheckboxes support
40
prettyGallery support
74
prettyMobile support
34
prettyPhoto support
1,937
prettyLoader support
12
INK - Support forum
5
Powered by Vanilla