Page 2 of 2

Re: [MOD] - Use Fancybox instead of Thickbox

Posted: Mon May 09, 2011 9:25 am
by eric1998
Hi,

Anybody try the last version of fancybox 1.3.4 on Opencart 1.4.9.4 ?

I try this but i can't change any option. I edit jquery.fancybox-1.3.4.js but any result
I Try this code but i don't know if i have make a mistake.

Find

Code: Select all

<script type="text/javascript" src="catalog/view/javascript/jquery/thickbox/thickbox-compressed.js"></script>
<link rel="stylesheet" type="text/css" href="catalog/view/javascript/jquery/thickbox/thickbox.css" />

Replace:

Code: Select all

<script type="text/javascript" src="catalog/view/javascript/jquery/jquery-1.4.3.min.js"></script>
<script type="text/javascript" src="catalog/view/javascript/jquery/fancybox/jquery.easing-1.3.pack.js"></script>
    <script type="text/javascript" src="catalog/view/javascript/jquery/fancybox/jquery.fancybox-1.3.4.pack.js"></script>
    <link rel="stylesheet" type="text/css" href="catalog/view/javascript/jquery/fancybox/jquery.fancybox-1.3.4.css" media="screen" />
    <script type="text/javascript">
    $(document).ready(function() {
       $("a.thickbox").attr('rel','group');
       $("a.thickbox img").parent().fancybox({
          'overlayShow' : true,
          'speedIn' : 600,
          'speedOut' : 500,
          'transitionIn': 'elastic',
          'transitionOut': 'elastic',
          'easingIn' : 'easeOutBack',
          'easingOut' : 'easeInBack'
       });       
    });
    </script>

Thank you

Re: [MOD] - Use Fancybox instead of Thickbox

Posted: Mon May 16, 2011 5:48 am
by knuggle
Tried to use this MOD to deal with IE9 problem of popup window at bottom of screen and cant access more picts and now I have no box. It opens up full screen. Any suggestions. Thanks

Re: [MOD] - Use Fancybox instead of Thickbox

Posted: Mon May 16, 2011 5:57 am
by Qphoria
If it opens full screen then it usually means there was a javascript error or the script isn't loading because it wasn't uploaded. Link?

Re: [MOD] - Use Fancybox instead of Thickbox

Posted: Mon May 16, 2011 6:04 am
by knuggle
I followed per your instructions, copy paste? It is an apstore template though

Re: [MOD] - Use Fancybox instead of Thickbox

Posted: Mon May 16, 2011 6:09 am
by knuggle
heres a link http://e-buts.com/image/cache/data/e-ci ... 00x500.jpg
Maybe you could look at the coding

Re: [MOD] - Use Fancybox instead of Thickbox

Posted: Mon May 16, 2011 6:17 am
by knuggle
Got it, found the lines of code that were incorrect. Thanks Qphoria for your help.

Re: [MOD] - Use Fancybox instead of Thickbox

Posted: Wed Jun 01, 2011 9:09 pm
by opencartisalright
Anybody have any luck getting this mod to fully work in OC 1.5? It works for pretty much everything except the terms and conditions on the checkout pages. Those still open in a full window, not in a fancybox.

Re: [MOD] - Use Fancybox instead of Thickbox

Posted: Thu Jan 24, 2013 11:14 pm
by Lundii30
I know this is an old topic, but I'm still having the same issue as "opencartisalright".
Anybody have any luck getting this mod to fully work in OC 1.5? It works for pretty much everything except the terms and conditions on the checkout pages. Those still open in a full window, not in a fancybox.
I don't know why my popup doesn't work on the checkout pages when they seem to be fine everywhere else... Any ideas??