Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Plugins & Atahualpa (http://forum.bytesforall.com/forumdisplay.php?f=16)
-   -   Slimbox 1.3 and Lightbox 2.8.2 not working with Atahualpa 3.4.1 (http://forum.bytesforall.com/showthread.php?t=2581)

tonkski Jul 22, 2009 10:51 AM

Slimbox 1.3 and Lightbox 2.8.2 not working with Atahualpa 3.4.1
 
Slimbox works fine with Atahualpa 3.2, but doesn't with 3.4.1. I've tried Slimbox with Wordpress Classic 1.5 and that works OK. I have the same problem with Lightbox 2.8.2.

When I click on a thumbnail the image opens in a new browser window, rather than the Slimbox effect.

Here's an example using Slimbox and Atahualpa 3.4.1:

http://escapetocontinue.co.uk/blog1/

Flynn Jul 23, 2009 07:32 AM

Try removing the IE6 PNG fix section from js.php

From

/* IE5.5+ PNG Alpha Fix v2.0 Alpha: Background Tiling Support

... up to...
/* JQUERY */

If that doesn't help remove this from header.php as well

<script type="text/javascript" src="<?php echo $bfa_ata['siteurl']; ?>/wp-includes/js/jquery/jquery.js?ver=1.2.6"></script>

tonkski Jul 23, 2009 10:05 AM

Thanks for your reply.

I tried both those suggestions but still have the same problem.

Flynn Jul 23, 2009 10:32 AM

Try setting JS to external at Configure CSS & JS. This looks like a Javascript problem between jQuery and Mootools (slimbox)

When you tried with the classic theme, did you have both
Clean Archives Reloaded and slimbox activated at the same time?

If so, could you try to leave the JS internal and delete this line from js.php:

jQuery.noConflict();

tonkski Jul 24, 2009 12:16 AM

Setting JS to external fixed it. Thanks for your help.

tonkski Jul 29, 2009 11:10 AM

That fix worked for IE8, IE7 and Firefox thanks. I've tried it on IE6 - Slimbox and Lightbox both work but produce an error:

Line: 181
Error: Invalid procedure call or argument
Code: 0
URL: http://escapetocontinue.co.uk/blog1/

If I refresh the page the error does not repeat. If I restart the browser the error repeats.

I tried your previous suggestions and they didn't affect the error.

An example is at http://escapetocontinue.co.uk/blog1/

Any ideas please?

tonkski Jul 30, 2009 07:09 AM

I've tracked it down to the code in js.php. If I comment out the block of code after "Apply PNG fix for IE6" then the error stops. I don't know what this is for - can I fix it or safely remove it please?

Flynn Aug 7, 2009 06:21 PM

You can remove the long IE PNG fix section in js.php if you don't have transparent PNG's (or don't care for transparency in IE6).

ff-webdesigner Oct 1, 2010 09:19 AM

Removing the IE PNG section didn't fix the problem.
This one will fix the problem:
comment out the following js in header.php:
mootools-for-dropdown.js
and
jquery.cross-slide.js

then the slimbox plugin willl work alright - i guess lkightbix as well.

cheers


All times are GMT -6. The time now is 03:40 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.