Billy Posted August 27, 2015 Share Posted August 27, 2015 Per chrome console ----- Uncaught TypeError: $(...).fancybox is not a function (anonymous function) @ (index):4149 n.Callbacks.j @ jquery-1.11.0.min.js:2 n.Callbacks.k.fireWith @ jquery-1.11.0.min.js:2 n.extend.ready @ jquery-1.11.0.min.js:2 K @ jquery-1.11.0.min.js:2 ----- Line #'s in my index per chrome 4149 $('.fancybox').fancybox({ 4150 'hideOnContentClick': false, 4151 'transitionIn' : 'elastic', 4152 'transitionOut' : 'elastic' Based on a google search I found a post on stackoverflow. That said this is related to two (.js files loading and crashing each other). example: jQuery Here is the link http://stackoverflow.com/questions/21926225/fancybox-typeerror-fancybox-is-not-a-function Now the author at the end of the post suggest using this code snippit to solve the issue. <script type="text/java script"> var $= jQuery.noConflict(); My question to you guys/gals is where would I use that snippet? Am I on the right track or is my google-fu messed up? Thanks in advance. -b Link to comment Share on other sites More sharing options...
Billy Posted August 27, 2015 Author Share Posted August 27, 2015 1) Is there a demo of prestashop 1.6.1.1 somewhere thats not framed? 2) Or do you know how to break out of the framed demo prestashop provides? I cannot run chromes console or firefox firebug on the demo prestashop provides. I think this TypeError is just a typo in the product.js in regards to fancybox. This file would be found in default-bootstrap/js/product.js Thanks Link to comment Share on other sites More sharing options...
megala Posted September 4, 2015 Share Posted September 4, 2015 did you get this fixed? All of a sudden I'm getting this message as well Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now