jaimeweb Posted February 15, 2012 Share Posted February 15, 2012 Hi, I am using 1.4.7. I have a slight problem with my product thumb nails. They are not showing correctly. Neither is the product image zoom working correctly. You can see here: http://site.footballamerica.co.uk/store/helmets/18-xenith-x2.html I think i know whats causing the problem, i just dont know how to fix it. I have a drop down menu on the first 2 tabs of my top menu which needs these scripts in the <head> of the page (in this case header.tpl). <link rel="stylesheet" type="text/css" href="http://footballamerica.co.uk/dropmenu/ddmegamenu.css" /> <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js"></script> <script src="http://footballamerica.co.uk/dropmenu/ddmegamenu.js"></script> <script> ddmegamenu.docinit({ menuid:'menuhelmets', dur:200 //<--no comma after last setting }) ddmegamenu.docinit({ menuid:'menupads', dur:200, easing:'easeInOutCirc' //<--no comma after last setting }) </script> When this code is removed, all works well. But I need this drop down menu to work also. If anyone could help that would be great! Thanks Link to comment Share on other sites More sharing options...
jeckyl Posted February 15, 2012 Share Posted February 15, 2012 Hi, used this code : <link rel="stylesheet" type="text/css" href="http://footballamerica.co.uk/dropmenu/ddmegamenu.css" /> <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js"></script> <script src="http://footballamerica.co.uk/dropmenu/ddmegamenu.js"></script> <script> {literal} ddmegamenu.docinit({ menuid:'menuhelmets', dur:200 //<--no comma after last setting }) ddmegamenu.docinit({ menuid:'menupads', dur:200, easing:'easeInOutCirc' //<--no comma after last setting }) {/literal} </script> Link to comment Share on other sites More sharing options...
jaimeweb Posted February 15, 2012 Author Share Posted February 15, 2012 Hi Jeckyl, Thanks for your reply. I have tried that already with no joy. Its obviously conflicting with one of the js files, but im not sure how to resolve it. Any other ideas? Thanks Link to comment Share on other sites More sharing options...
jeckyl Posted February 15, 2012 Share Posted February 15, 2012 Prestashop define jquery and you put another time a new jquery. i know it's possible to do that but you coul search information to put 2 different version of jquery. Link to comment Share on other sites More sharing options...
jaimeweb Posted February 15, 2012 Author Share Posted February 15, 2012 Hi Jeckyl, Ive had a look online and can't really make sense of it all. Or whats the solution around this. Are you able to help further? Thanks Link to comment Share on other sites More sharing options...
jeckyl Posted February 15, 2012 Share Posted February 15, 2012 http://forum.jquery.com/topic/multiple-versions-of-jquery-on-the-same-page Link to comment Share on other sites More sharing options...
jaimeweb Posted February 15, 2012 Author Share Posted February 15, 2012 Hi Jeckyl, What version or file is the JQuery that Prestashop already has which it is confilicting with? And where is it located? Thanks again Link to comment Share on other sites More sharing options...
jeckyl Posted February 15, 2012 Share Posted February 15, 2012 Hi, you can see this directly in the code of your site jquery-1.4.4.min.js Link to comment Share on other sites More sharing options...
jaimeweb Posted February 16, 2012 Author Share Posted February 16, 2012 Hi, I am still stuck with this. Followed instructions on that page but with no luck... Link to comment Share on other sites More sharing options...
jeckyl Posted February 16, 2012 Share Posted February 16, 2012 hi, do you test it without this line ? <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js"></script> Link to comment Share on other sites More sharing options...
jaimeweb Posted February 16, 2012 Author Share Posted February 16, 2012 Hi Jeckyl, Yep, tried that too. Tried it all in and out of {literal} tags and everything...tried it in footer aswell. No luck Link to comment Share on other sites More sharing options...
jaimeweb Posted February 16, 2012 Author Share Posted February 16, 2012 Not sure if this is any use, but this is the menu i am using: http://www.dynamicdrive.com/dynamicindex1/ddmegamenu.htm#trigger You can see it working on my other site www.footballamerica.co.uk on "Helmets" and "Shoulder Pads" but that site is on 1.2.5 and i am trying to get the same thing working on a new installation of 1.4.7. Link to comment Share on other sites More sharing options...
jeckyl Posted February 16, 2012 Share Posted February 16, 2012 Hi, on your second site you have in your code some informations abiout your submenu like megacontent but you don't have any code about your content of this submenu in the first one. Link to comment Share on other sites More sharing options...
jaimeweb Posted February 16, 2012 Author Share Posted February 16, 2012 Hi, I have tried removing that and even trying the same header file from my other site on 1.2.5 but still no luck.... Link to comment Share on other sites More sharing options...
Recommended Posts