Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:56

Conflicting variables with Prototype.js


Poster: jbuck
Dated: Wednesday August 30 2006 - 1:36:37 BST

As per this thread:
http://www.milonic.com/forum/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/prototype-1.4.0.js"></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


Poster: jbuck
Dated: Wednesday August 30 2006 - 2:12:04 BST

Apologies - the latest version of the menu has indeed resolved this conflict.
The right _src.js wasn't being included correctly.
Sorry!


Poster: John
Dated: Wednesday August 30 2006 - 16:35:32 BST

Glad you found it!