Is there a guide on how to implement thickbox or slimbox? Or how to enable transition effects for gallery images? I searched and found bits and pieces, but not a concrete how -to. I am using the latest version of Zen and am a noob. Thanks.
Also everything I have found in the forums is quite old. Perhaps someone could point me to something current? Thanks.
Thanks. I will give it a shot.
I see examples like below, but have no idea where I would put them on image.php of the homepage.:
Format: $('selector').colorbox({key:value, key:value, key:value}, callback);
Example: $('a#login').colorbox({transition:'fade', speed:500});
Example: $('a.gallery').colorbox();
Example: $('button').colorbox({href:"thankyou.html"});
And it can be called directly, without assignment to an element
Example: $.colorbox({href:"thankyou.html"});
ColorBox can accept a function in place of a static value:
$("a[rel='example']").colorbox({title: function(){
var url = $(this).attr('href');
return 'Open In New Window';
}});
I know it needs to be attached to an element, but am not sure what those are. I know it needs to be attached to an element. So in the case of image.php the main element is the image I suppose. From the default theme. I tried placing the colorbox values in a couple of places, but no luck.
[b]
" title="">
[/b]
OP - Check this link
http://www.zenphoto.org/support/topic.php?id=9318
This will show how to open ColoBox from album.php thumbnails instead of image.php images
Hope it helps
wdiggles Thanks. I used your code and made some edits. The only problem I have now is that I can not size my images larger which has nothing to do with this request.