News:

Support the VirtueMart project and become a member

Main Menu

[Solved]Fancybox not working chrome shows error

Started by buzzbored, June 22, 2016, 16:24:02 PM

Previous topic - Next topic

buzzbored

when I click on an image it just opens a page with the image, no lightbox. In chrome I see an error for fancybox 'Uncaught TypeError: Cannot read property 'msie' of undefined' the virtuemart and joomla are stock. Is this common is there any easy fix. I'm not very familiar with jquerry or fancybox.

site at : aitester.net
Joomla 3.5.1, VM 3.0.16, PHP 5.4.x

Studio 42

HI,
You have jquery conflicts.
It's loaded 2 time

  <script src="/media/jui/js/jquery.min.js"></script>
and
  <script src="http://code.jquery.com/jquery-latest.pack.js"></script>

The second seems to be loaded by mod_gruemenu(for nothing)
because after you have :
  <script src="http://aitester.net/modules/mod_gruemenu/js/touchwipe.min.js"></script>
  <script src="http://aitester.net/modules/mod_gruemenu/js/sidr.js"></script>
  <script src="http://aitester.net/modules/mod_gruemenu/js/script.js"></script>


Greets,
Patrick

buzzbored

Joomla 3.5.1, VM 3.0.16, PHP 5.4.x