jquery
$(".gallery_bg").fancybox({//displaying images
/*openEffect : 'elastic',
closeEffect : 'elastic',
'cyclic':'true',
'scrolling':'yes',
'showNavArrows':'true',
helpers : {
title : {
type : 'inside'
}
}
*/
openEffect : 'elastic',
closeEffect : 'elastic',
showNavArrows : true,
closeBtn : false,
helpers : {
title : { type : 'inside' },
buttons : {}
}
});
i have included the style.css
#fancybox-left-ico {
left: 20px;
}
#fancybox-right-ico {
right: 20px;
left: auto;
}
after including too i am not able to see the next and previous icon?
Be sure that the
fancybox_sprite.pngfile in in the same folder than thejquery.fancybox.cssfile.If you want to display the next/prev arrows permanently, not on mouse hover only, then use this inline
css(after you loaded/linked to thejquery.fancybox.cssfile)Note: this is for fancybox v2.x (which I assumed you are using because the options you are using in your script)