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

problem with conversion...


Poster: KatWalsh
Dated: Saturday September 6 2003 - 2:48:28 BST

I'm trying to convert to 5 and having some problems.

Tried using the converter and kept getting an error relating to "mm_style", so I decided to just go back and do it from scratch.

As I'd rather not go through and rename the file on every page of my site, I changed the name of "milonic_src.js" to "mmenu.js" and "menu_data.js" to "we_array.js".

Now my existing text called up the script as:
Code:
<script language=JavaScript src="menu/we_array.js" type=text/javascript></script>
<script language=JavaScript src="menu/mmenu.js" type=text/javascript></script>


and I read in the text that it should now be:
Code:
<script language=JavaScript src="menu/mmenu.js" type=text/javascript></script>
<script language=JavaScript src="menu/we_array.js" type=text/javascript></script>


1st - why the change? So I have to go through every page to flip that? *sigh* :(

But anyway, I tried that and it didn't work (and now half the text on the page disappeared too). So can someone take a look at this page and see if you can spot the error? -> http://www.wickedelf.com

here's an example where at least the text didn't disappear -> http://www.wickedelf.com/movies.shtml

The browser error says "Unterminated string constant"??

Appreciate any help!?


Poster: John
Dated: Saturday September 6 2003 - 3:18:02 BST

I think renaming some of the main program elements is a bad idea. Are you absolutely sure that none of the other scripts in the menu system are not looking for the original script names?

I'd put them back the way they were and use an include to call them. That way, should something change in the future, you'll only have to change one file.