problem with conversion...

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
KatWalsh
Beginner
Beginner
Posts: 6
Joined: Sun Feb 23, 2003 6:22 am
Contact:

problem with conversion...

Post by KatWalsh »

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: Select all

<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: Select all

<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!?
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

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.
John
Post Reply