How to disable wrap-around border?

88 views
Skip to first unread message

PackCat

unread,
Jun 14, 2009, 10:44:37 PM6/14/09
to fancybox
Is there an easy way (perhaps switch) to turn off border without
changing everything?

See example: http://www.cvdmz.cz/galerie.php

Thanks,
john

PackCat

unread,
Jun 14, 2009, 10:53:45 PM6/14/09
to fancybox
oh... nevermind.

putting ({'padding': 0}); within HTML function call works just
fine...

<script type="text/javascript">
$(document).ready(function() {
$("a.yesopen").fancybox({'padding': 0});
});
</script>

Wal

unread,
Jul 3, 2016, 3:53:48 PM7/3/16
to FancyBox
Sorry to bug you but I have been struggling with removing the border. I'm a total newb to this. 
I used the Plugin editor to remove the border by erasing the border section completely...

#fancybox-content {
width: 0;
height: 0;
padding: 0;
outline: none;
position: relative;
overflow: hidden;
z-index: 110002;
(removed this) border: 0px solid #fff;
}
 The border went away but has replaced it with a thicker white line on the right side of the picture. Obviously what I tried can't work. 
Could you explain where you went to add the info you provided? The name of the file would be helpful.
Reply all
Reply to author
Forward
0 new messages