Like, inside the slimbox2.js file, you would make the AUTOLOAD CODE BLOCK look like so:
Code:
// AUTOLOAD CODE BLOCK (MAY BE CHANGED OR REMOVED)
if (!/android|iphone|ipod|series60|symbian|windows ce|blackberry/i.test(navigator.userAgent)) {
jQuery(function($) {
$("a[rel^='lightbox']").slimbox({/* Put custom options here */
imageFadeDuration: 1,
loop: true,
overlayFadeDuration: 1,
resizeDuration: 1,
captionAnimationDuration: 1
}, null, function(el) {
return (this == el) || ((this.rel.length > 8) && (this.rel == el.rel));
});
});
}
Bookmarks