Conflicting variables with Prototype.js

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
jbuck
Beginner
Beginner
Posts: 2
Joined: Wed Aug 30, 2006 1:21 am

Conflicting variables with Prototype.js

Post by jbuck »

As per this thread:
viewtopic. ... light=ajax

...There are still some apparent conflict problems with the Prototype library. I am currently getting an error:
Error: $c is not defined
Source file: /components/menus/mmenudom.js
Line: 20

This error can be replicated by including:

<script src="http://prototype.conio.net/dist/prototy ... "></script>

on any page together with the Milonic menu.
I am using menu version 5.756. I can't give you a public demo URL I'm afraid.

It looks like a simple conflict of $c variables. I do appreciate the comments made on the other thread re: who should have to do the re-writing etc., but would really appreciate if this could be resolved as soon as possible.
Thanks,
Jason
jbuck
Beginner
Beginner
Posts: 2
Joined: Wed Aug 30, 2006 1:21 am

Post by jbuck »

Apologies - the latest version of the menu has indeed resolved this conflict.
The right _src.js wasn't being included correctly.
Sorry!
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

Glad you found it!
John
Post Reply