I think I already know the answer but…has anyone found a way to get
Cabel’s FancyZoom http://www.cabel.name/2008/02/fancyzoom-10.html
to work with other javascript libraries? The usual suspects being
Scripty and/or Mootools.
The Console doesn’t show any problems. Here’s a test page, <http://www.xiiro.com/fancyzoom_moo.html>. I expected either FZ or Moo to fail miserably (like a Scripty/Moo cocktail does) but actually Moo works and FZ kinda works…but not really.
Todd
On Oct 3, 2008, at 10:02 AM, Walter Lee Davis wrote:
Console. Specifically, it should say some sort of an error is occurring. Can you post a URL of a page where you’re having the problem?
The problem here appears to be improper path to the images, nothing
more. I see a missing image for the Ajax in progress spinner, and
another for the “close the overlay” button and the overlay itself.
Make sure that the FZ images are at a relative position to the script
that matches the script’s expectations.
Walter
On Oct 3, 2008, at 11:54 AM, Todd wrote:
The Console doesn’t show any problems. Here’s a test page, <http:// www.xiiro.com/fancyzoom_moo.html>. I expected either FZ or Moo to
fail miserably (like a Scripty/Moo cocktail does) but actually Moo
works and FZ kinda works…but not really.
Todd
On Oct 3, 2008, at 10:02 AM, Walter Lee Davis wrote:
Console. Specifically, it should say some sort of an error is
occurring. Can you post a URL of a page where you’re having the
problem?
The path is fixed but it appears with the moo js enabled the zoomed image is reduced to thumbnail size but if I disable the other moo scripts (as it is now) the image zooms fine. So close.
Todd
On Oct 3, 2008, at 10:57 AM, Walter Lee Davis wrote:
Make sure that the FZ images are at a relative position to the script that matches the script’s expectations.
Hmmm. You might want to see if anyone has rewritten FZ to work with
Moo. I found a couple of examples where the author rewrote it to work
with Prototype, one where he actually just duplicated the
functionality using Proto/Scripty.
Walter
On Oct 3, 2008, at 12:29 PM, Todd wrote:
The path is fixed but it appears with the moo js enabled the zoomed
image is reduced to thumbnail size but if I disable the other moo
scripts (as it is now) the image zooms fine. So close.
Can you try making the FZ load after Moo? See if that fixes it. Something in Moo is redefining a function or a variable that’s declared in FZ, I think.
That did it. I was wondering about the loading order. Hopefully this works in IE and doesn’t break the layout.
Thanks,
Todd
On Oct 3, 2008, at 12:25 PM, waltd wrote:
Can you try making the FZ load after Moo? See if that fixes it. Something in Moo is redefining a function or a variable that’s declared in FZ, I think.
The only downside is that I lose the accordion effect in the body but
the nav is still ok.
Todd
On Oct 3, 2008, at 12:25 PM, waltd wrote:
Can you try making the FZ load after Moo? See if that fixes it.
Something in Moo is redefining a function or a variable that’s
declared in FZ, I think.
So there’s your conflict then. Moo:Accordion and FZ in a steel-cage match. I have to think this problem has come up somewhere before. Get thee to a Google!
Walter
The only downside is that I lose the accordion effect in the body but the nav is still ok.
I’m surprised (and glad) that they play together as well as they do. As for the accordion/FZ it seems to be an issue with FF which chokes on the accordion (at least for me) but it renders fine in Safari. Actually, so far so good.
Todd
On Oct 3, 2008, at 12:47 PM, waltd wrote:
So there’s your conflict then. Moo:Accordion and FZ in a steel-cage match. I have to think this problem has come up somewhere before.