Have any one tried to activate fancybox thumbnail gallery using a button or an anchor click, Currently one can use fancybox by clicking on the image which takes you to the popup image gallery, In my condition i want a simple button or an html anchor , so that when a user click on the button or anchor the modal popup gallery should be displayed. Also my images will be coming from db , Any ideas how to do this ???
缩略语
$( .fancybox-thumbs ).fancybox({
prevEffect: none ,
nextEffect: none ,
closeBtn: false,
arrows: false,
nextClick: true,
helpers: {
thumbs: {
width: 50,
height: 50
}
}
});
最新工作说明:
$( a.gallery ).click(function () {
$( .fancybox-thumb ).click();
});