FMaz
unread,Feb 2, 2011, 9:56:41 AM2/2/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to fancybox
Hi,
I'm facing what seem like a feature that is missing.
I know we can set the Z-Index in the CSS file, but I do use a lot of
fancyboxes on my site, and I would really like to have a better
control of the Z-index without needed to create a thousand CSS class.
Would it be possible to add a z-index option in the fancybox
function ? Is it a hard change ?
I'm actually facing the case where I have a "browse" link in a TinyMCE
light box that have a z-index of 400007 ( ! )
Again, I know I could put my fancybox at 500000+ but sometime I need a
lower value too.
After my fancybox call, I've tried to do this:
$('#fancybox-wrap').css("z-index", 500000);
The property is changed just well, but when the link is clicked and
the fancybox get displayed, the element.style content get erased and I
loose my z-index value.