Vanilla 2
Discussions
Activity
Sign In
prettyGallery support
Bug, If an amount of pictures less than three?
feg16
November 2011
$('.prettyGallery').prettyGallery({
'navigation':'bottom',
'itemsPerPage': 3
});
The script starts to deduce easier pictures, with a wide border
feg16
November 2011
Sample image:
http://i41.tinypic.com/9k1amu.jpg
feg16
November 2011
I can repair less than three
var item = $("#gallery").find("li");
if (item.length > 3) {
$("#gallery").prettyGallery({
itemsPerPage : 3,
navigation : 'bottom'
});
} else {
for (index=0; index $(item[index]).attr("style", "position: absolute; left: " + (index * 70 + 15) + "px;");
}
}
This is not good 8(
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,834
General
363
Showoff your stuff!
5
prettyComments support
7
prettySociable support
22
WP-prettyphoto support
198
prettyCheckboxes support
9
prettyGallery support
81
prettyMobile support
14
prettyPhoto support
2,118
prettyLoader support
12
INK - Support forum
5
Powered by Vanilla