fancybox showing up with no close button

3,636 views
Skip to first unread message

Arcticfire

unread,
Feb 2, 2010, 11:02:05 AM2/2/10
to fancybox
i have a fancybox opening and there is no close button thingy. i dont
know hwy it doesn't work, but my client is not happy with having to
refresh the page each time to open a new one.
if anyone can help me find out what is wrong, because i need it to be
fixed by 2/5/10.

Janis

unread,
Feb 2, 2010, 11:08:16 AM2/2/10
to fancybox
I bet you have JS error.

JFK

unread,
Feb 2, 2010, 2:02:33 PM2/2/10
to fancybox
I double the bet :)
show us a link where I can point it out

va75a77a

unread,
Feb 2, 2010, 3:19:22 PM2/2/10
to fancybox
I have a similar issue, I have implemented the link in the title
method as seen below which works wonderfully, however, my close button
has disappeared in doing so.

$(document).ready(function() {
$("a#single_image").fancybox({
'showCloseButton': true,
'callbackOnShow': function() {
$("#fancy_title table div").wrapInner("<a href=\"downloadCrop.php
\" onClick=location.href=\"downloadCrop.php\"></a>");
}
});
});

any ideas would help greatly


On Feb 2, 11:02 am, JFK <jfk.d...@gmail.com> wrote:
> I double the bet   :)
> show us a link where I can point it out
>
> On Feb 2, 8:08 am, Janis <janis.skarne...@gmail.com> wrote:
>
>
>
> > I bet you have JS error.
>
> > On Feb 2, 6:02 pm, Arcticfire <fatality...@gmail.com> wrote:
>

> > > i have afancyboxopening and there is noclosebutton thingy. i dont
> > > know hwy it doesn't work, but my client isnothappy with having to

JFK

unread,
Feb 3, 2010, 2:32:14 AM2/3/10
to fancybox
links please

JCorbin

unread,
Jun 18, 2012, 9:13:26 PM6/18/12
to fanc...@googlegroups.com
I'm having the same issue. I've tried looking into the CSS file to change the link path to see if that would work. On the left section under wagon, if you click the play button it will play an adobe video which I'm using for testing. It will close if you click on the corner, but the close button doesn't show.

Link is http://www.jcorbindesign.com/lightofdaymedia/ourcapabilities_demo.html

Mar Ventus

unread,
Jun 18, 2012, 9:28:21 PM6/18/12
to fanc...@googlegroups.com
Hi!
Did you try adding a wmode attribute (with an opaque or transparent value) to your embed code? I don't see one in your code, and it might be the reason why it is covering the close button.
Cheers!

Marventus


--
You received this message because you are subscribed to the Google Groups "FancyBox" group.
To view this discussion on the web visit https://groups.google.com/d/msg/fancybox/-/BV1qKmZiZGIJ.
To post to this group, send email to fanc...@googlegroups.com.
To unsubscribe from this group, send email to fancybox+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/fancybox?hl=en.

JFK

unread,
Jun 18, 2012, 10:43:00 PM6/18/12
to FancyBox
the "fancybox_sprite.png" file SHOULD BE in the same directory of the
fancybox.css file

so far, your css file is here
http://www.jcorbindesign.com/lightofdaymedia/css/fancybox.css

while the sprite file is not
http://www.jcorbindesign.com/lightofdaymedia/css/fancybox_sprite.png

you either,
- place a copy of the sprite inside the directory
http://www.jcorbindesign.com/lightofdaymedia/css/

- or edit the fancybox css file and set the absolute path of the
sprite file
> >> > \" onClick=location.href=\"**downloadCrop.php\"></a>");

Jim Gallaher

unread,
Jun 18, 2012, 11:21:30 PM6/18/12
to fanc...@googlegroups.com
Thanks JFK! I put in the fancybox buttons.png and not the fancybox sprite.png in the CSS folder. I made the change locally and that did the trick.

Thanks again!

Jake

unread,
Aug 18, 2012, 1:40:44 PM8/18/12
to fanc...@googlegroups.com
I have the same issue...

I read a few topics here, all the code seems to be in order, but the close button just isn't there in both AJAX and iFrame modes.

Check my issue at: http://jquill.com/

Jake

unread,
Aug 18, 2012, 1:44:48 PM8/18/12
to fanc...@googlegroups.com
Turned off adblock, refreshed the page, turned on adblock, problem solved.
Reply all
Reply to author
Forward
0 new messages