-
AuthorPosts
-
June 2, 2012 at 3:56 am #177762
Hello,
I installed and configured MiniK2 to display a few items in its “simple” sub-template setting. Unfortunately, this seems to be causing an issue with Mega Menu. The error message I receive is:
Error: this.menu.getElements is not a function
Source File: http://mysite.com/plugins/system/jat3/jat3/base-themes/default/js/menu/mega.js
Line: 42The site is not yet live, so I am unable to provide its address as an example. Any ideas on how I can fix this javascript issue? I have installed jQuery Easy, but that did not fix the issue… it only broke the MiniK2’s full functionality that is provided by jQuery.
Thanks!
MoonSailor FriendMoonSailor
- Join date:
- November 2011
- Posts:
- 1106
- Downloads:
- 0
- Uploads:
- 245
- Thanks:
- 89
- Thanked:
- 248 times in 223 posts
June 4, 2012 at 3:56 am #455787Hi hockey2112!
Because modules minik2 code js:
$ = jQuery.noConflict();
$(window).load(function(){var $container = $(“#minik2′.$modid.'”);
$container.imagesLoaded(function(){
$container.masonry({
itemSelector : ‘.block’
});
})
});in line 108 of file “modules/mod_minik2/mod_minik2.php” conflict with mootools. Please replace it by :
$j = jQuery.noConflict();
$j(window).load(function(){var $jcontainer = $j(“#minik2′.$modid.'”);
$jcontainer.imagesLoaded(function(){
$jcontainer.masonry({
itemSelector : ‘.block’
});
})
});
Regards.1 user says Thank You to MoonSailor for this useful post
June 6, 2012 at 7:51 pm #456349<em>@MoonSailor 323299 wrote:</em><blockquote>Hi hockey2112!
Because modules minik2 code js:
$ = jQuery.noConflict();
$(window).load(function(){var $container = $(“#minik2′.$modid.'”);
$container.imagesLoaded(function(){
$container.masonry({
itemSelector : ‘.block’
});
})
});in line 108 of file “modules/mod_minik2/mod_minik2.php” conflict with mootools. Please replace it by :
$j = jQuery.noConflict();
$j(window).load(function(){var $jcontainer = $j(“#minik2′.$modid.'”);
$jcontainer.imagesLoaded(function(){
$jcontainer.masonry({
itemSelector : ‘.block’
});
})
});
Regards.</blockquote>You. Are. A. Lifesaver! That worked perfectly, thank you!
July 18, 2012 at 2:32 pm #461328Any idea on how to fix the same issue, on this page: http://tinyurl.com/7y7atoj?
I believe the conflict is with the (standard) k2 gallery on that page, powered by Single Image Gallery.
-
AuthorPosts
This topic contains 4 replies, has 2 voices, and was last updated by hockey2112 12 years, 4 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum