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:31

Conflict between trafic script and milonic


Poster: amipro
Dated: Monday September 26 2005 - 8:11:19 BST

Strange stuff...
I have registered to a trafic counter (http://www.trafic.ro) but when i put the code in my page the milonic script won't work the menu bar is displayed but no submenus ....

the script is this
<!--/Start Trafic.ro/-->

<script type="text/javascript">t_rid="frv";</script>

<script type="text/javascript" =
src="http://storage.trafic.ro/js/trafic.js"

></script><noscript><a href="http://www.trafic.ro/top/?rid=frv"

target="_blank"><img border="0" alt="trafic ranking"

src="http://log.trafic.ro/cgi-bin/pl.dll?rid=frv"/></a>

</noscript>

<!--/End Trafic.ro/-->

maybe someone can help me please ?
i don't get it

... and here is the solution


Poster: dwittenb
Dated: Monday September 26 2005 - 9:36:27 BST

Hi,

look at the file trafic.js !!
There are 3 functions in it. Two of them make a conflikt with the functions dclared in the milonic javascripts. Maybe these are "function $G" and "function $I".

If you want to use the traffic-script you have to patch the script.
Rename the two functions to e.g. function $my_G and function $my_I.
Notice to rename all of the functioncalls too !!
But first, if you want to do this, look at the license-conditions of that script, if you are allowed to do this.

good luck

didi


Poster: Andy
Dated: Thursday September 29 2005 - 14:42:29 BST

If I can see a URL of where the problem is, I should be able to pin down the problem and get it into the next set of releases.

Regards,
Andy