phoca rhein and jQuery

Phoca Templates - templates for Joomla! CMS
imengine
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 13 Feb 2012, 09:03

phoca rhein and jQuery

Post by imengine »

Hi! First want to thank you for your extentions.
I have a problem with linking jQuery framework to my joomla site (template is Phoca_rhein). Linking any version of jQuery changes style of the top menu (position-1 of module).
Help me, please, to find solution to this problem.
Thanks
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48386
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: phoca rhein and jQuery

Post by Jan »

Hi, for now I have no experiences that jquery change something for top menu :idea: so really no idea there :idea:
If you find Phoca extensions useful, please support the project
imengine
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 13 Feb 2012, 09:03

Re: phoca rhein and jQuery

Post by imengine »

Ok, thanks
Mider
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 17 Nov 2012, 20:20

Re: phoca rhein and jQuery

Post by Mider »

I have same problem.
When I try to load JQuery, top menu starts shows wrong.
Firebug show error:

Code: Select all

TypeError: $(this.options.id).getElements is not a function
var links = $(this.options.id).getElements('a');
in /phoca_rhein/javascript/MenuMatic_0.68.3.js

I try to use different version of JQuery, but error still occurs.

Menu before jQuery load: https://lh4.googleusercontent.com/-Mh1u ... before.jpg
and after https://lh5.googleusercontent.com/-tE_R ... /after.jpg
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48386
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: phoca rhein and jQuery

Post by Jan »

Hi, MenuMatic uses Mootools (it loads it form Joomla!) it means, the standard Joomla! library is called, check if your jqeury script is not in conflict with Joomla! Mootools framework. :idea:


Jan
If you find Phoca extensions useful, please support the project
Post Reply