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
4,649
General
1,277
Showoff your stuff!
13
prettyComments support
18
prettySociable support
40
WP-prettyphoto support
290
prettyCheckboxes support
19
prettyGallery support
118
prettyMobile support
12
prettyPhoto support
2,833
prettyLoader support
16
INK - Support forum
13
Powered by Vanilla