how i use gallery anywhere
i Bought this plugin and i installed
what now!
How do I insert Flickr gallery into article ???
i Bought this plugin and i installed
what now!
How do I insert Flickr gallery into article ???
It is currently a weekend from where we are at. Rest assured that we will get back to your posts as soon as the week starts!
Official support hours are from 8:30AM — 5:00PM Monday to Saturday (GMT +7)
.galleria-container {
position:relative;
font-family:arial,sans-serif;
background:#fff;
}
$this->script [] = '//ajax.googleapis.com/ajax/libs/jquery/1/jquery.js';
/* Center */
if ($parts [1] == 'folio') {
$js .= "Galleria.ready(function() {
var thumbcont=this.$('thumbnails-container'),
thumb=this.$('thumbnails-list'),
thumbw,thumbmarg,left,contw,
center=function(){
contw=thumbcont.width();
left=((contw-Math.floor(contw/thumbw)*thumbw)/2+thumbmarg)+'px';
thumb.css('left',left);
};
this.bind('thumbnail', function(e) {
if (!thumbw) {
var thumbp=$(e.thumbTarget).parent();
thumbw=thumbp.outerWidth(true);
thumbmarg=(parseFloat(thumbp.css('margin-right'))-parseFloat(thumbp.css('margin-left')))/2;
center();
}
});
$(window).bind('resize',center);
});";
}
/* Center */
if ($parts [1] == 'folio') {
$js .= "Galleria.ready(function() {
var thumbcont=this.$('thumbnails-container'),
thumb=this.$('thumbnails-list'),
thumbw,thumbmarg,left,contw,
center=function(){
contw=thumbcont.width();
left=((contw-Math.floor(contw/thumbw)*thumbw)/2+thumbmarg)+'px';
thumb.css('left',left);
};
this.bind('thumbnail', function(e) {
if (!thumbw) {
var thumbp=$(e.thumbTarget).parent();
thumbw=thumbp.outerWidth(true);
thumbmarg=(parseFloat(thumbp.css('margin-right'))-parseFloat(thumbp.css('margin-left')))/2;
center();
}
});
$(window).bind('resize',center);
});";
}
$this->script [] = '//ajax.googleapis.com/ajax/libs/jquery/1/jquery.js';