Picture disappears with closing

25 views
Skip to first unread message

tobias...@googlemail.com

unread,
Dec 22, 2009, 6:43:50 PM12/22/09
to fancybox
I have a problem with the latest version:
http://www.antary.de/2009/12/15/ssds-unter-windows-7-einsetzen/

When I enlarge a picture and close it, then it disappears. The plugin
author means this could be a fancybox problem.
Can you help me please?

JFK

unread,
Dec 23, 2009, 4:44:13 AM12/23/09
to fancybox
actually your original picture does not disappear, it`s just the white
empty div#fancy_content that overlaps it

the original fancybox css file (1.2.6) line 49 has
div#fancy_content {
margin: 0;
z-index: 100;
position: absolute;
}

your fancybox css file ...line 149 has
div#fancy_content {
margin: 0;
z-index: 1000;
position: absolute;
}

the value of z-index has been increased 10 times; actually all z-index
values (within the fancybox css file) have been increased 10 times ...
wonder who and why
you mentioned `The plugin author means this could be a fancybox
problem.` but no idea what plugin and author you are talking about

try setting the z-index values to their original value or download the
original jquery.fancybox-1.2.6.css file ..... or ask the plugin author
for support

On Dec 22, 3:43 pm, "tobias.rie...@googlemail.com"

Janis

unread,
Dec 23, 2009, 9:48:51 AM12/23/09
to fancybox
I have no idea why fancybox is not hiding outer div at your demo page.

tobias...@googlemail.com

unread,
Dec 23, 2009, 2:11:47 PM12/23/09
to fancybox

Moskis

unread,
Dec 23, 2009, 6:29:26 PM12/23/09
to fancybox
Hi, i'm the wordpress port author: http://wordpress.org/extend/plugins/fancybox-for-wordpress/

i have tested the original z-index values and they don't fix this
problem. The wordpress plugin has been downloaded many times and this
blog is the only one i've seen with this behaviour so far.

Sadly i'm still clueless about the origin of the problem (it's not
caused by theme or plugins CSS as far as i have tested). But i don't
think the z-index value has anything to do with it, it seems to me
more like something preventing the overlay to actually close, maybe a
conflict with another script.

z-index values were multiplied in the WordPress implementation bacause
many wordpress themes make wrong use of z-index or use unnecessarily
high values which causes a lot of people to have elements in their
page on top of fancybox. In next version i'll reset the original
zindex values and add an option to the plugin so that higher index
values can be switched on if the problem happens.

Let me know if i can be of any help with this.

On Dec 23, 8:11 pm, "tobias.rie...@googlemail.com"

JFK

unread,
Dec 24, 2009, 8:49:10 PM12/24/09
to fancybox
try isolating the problem disabling other js files
for instance, you have colorbox plugin, which is another modal box
(why do you need two modal boxes?)

tobias...@googlemail.com

unread,
Dec 25, 2009, 2:38:49 PM12/25/09
to fancybox
I switched back to version 2.6.0 and all works fine. The initial
problem was introduced with version 2.7.0.

@JFK
The colorbox plugin comes from the WP Ajax Edit Comments plugin.
I disabled all plugins and tried several themes, but nothing works.
With version 2.6.0 I have no problems!

Moskis

unread,
Dec 25, 2009, 6:32:20 PM12/25/09
to fancybox
WP plugin 2.6.0 uses fancybox 1.2.1
WP plugin 2.7.0 uses fancybox 1.2.6

Maybe there's some difference there that's causing the problem but
still i don't imagine how it affects only your blog, there has to be
something special on it that causes the problem.

Can you please try using the WP plugin v2.7.2 and replace the fancybox
JS file with the one from 2.6.0 (renaming the file) and let me know if
that helps?

On Dec 25, 8:38 pm, "tobias.rie...@googlemail.com"

tobias...@googlemail.com

unread,
Dec 26, 2009, 3:11:16 AM12/26/09
to fancybox
It works!
Now we know that the problem is "jquery.fancybox-1.2.6.min.js".

JFK

unread,
Dec 27, 2009, 2:11:43 AM12/27/09
to fancybox
>Now we know that the problem is "jquery.fancybox-1.2.6.min.js".
I would only affirm that if everybody who has installed the plugin
version (2.7.0) has the same problem, otherwise you have something
creating the conflict with fancybox

well, at least you got fancybox working on your blog

On Dec 26, 12:11 am, "tobias.rie...@googlemail.com"

Moskis

unread,
Dec 27, 2009, 11:47:41 AM12/27/09
to fancybox
Yes, there has to be something else on your blog causing the conflict,
i have no idea what though if you are certain it's not a plugin or
theme.

Still, you could update wordpress to 2.9 and test with 1.2.6 if you
like but i don't think that wil help though.

Maurizio Camagna

unread,
Jan 7, 2010, 1:39:54 PM1/7/10
to fancybox
Hi Moskis! I've exactly the same problem here:

http://blog.camagna.it/

I've now reverted to 2.6 to overcome the nuisance but I'm not so happy
with that. I've tried disabling all other plugins but no success. I'm
on Wordpress 2.9.1
I've seen that there is a RC2 of Fancybox 1.3. Do you believe that
this could help? Is there a way to test it in your plugin?

Thank you in advance,

Maurizio Camagna
http://camagna.it/

Reply all
Reply to author
Forward
0 new messages