If you can wait a few days for the new version to arrive, you will find it in the options 🙂
If you cannot wait, edit the code in easy-fancybox.php right below where it says $('a.fancybox').fancybox({
. Add a new line there with 'padding' : 0,
and you should no longer see the border…
It worked, thanks, although not exactly right below, here is where i put it:
echo "
$('a.fancybox').fancybox({";
foreach ($easy_fancybox_array as $key => $values)
if('true'!=$values['hide'])
echo "
'padding' : 0,
What about the ‘X’ button? If you click anywhere in the screen it closes so it really isn’t that usefull for me. Is there an “easy way” to get rid of it?
Thanks again. I have to say that this is the fastest (& usefull) answer to a question I’ve recibed writing in this forum.
I have a suggestion for the plugin and another question, I think I’ll create a new topic.
yep, you’re right… after the echo
is a much better spot for it 🙂
For the close button, you can use 'showCloseButton' : false
In fact, border and close button have become optional in the latest release 🙂
That code isn’t in the easy-fancybox.php file anymore. Any idea how I could get rid of the border just for the image on the page (I still want to keep the border in the overlay though, if possible).
Thanks.
In the latest versions you can set Border 0 and remove the mark at Show the (X) close button.
Easy 😉