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:40
Menu disappeared ?
Poster: Shelleuk
Dated: Friday February 27 2004 - 14:23:03 GMT
My menu has been working fine up to now...but something has happened to make the whole thing disappear from the site that I am in the process of building...the paths seem to be fine as I have all js pages in the root along with all my htm pages... I had been filling in the menu_data.js when this happened, but that shouldn't have made any difference....?
Haven't altered this at all:
<SCRIPT language=JavaScript src="/milonic_src.js" type=text/javascript></SCRIPT>
<script language=JavaScript>
if(ns4)_d.write("<scr"+"ipt language=JavaScript src=mmenuns4.js><\/scr"+"ipt>");
else _d.write("<scr"+"ipt language=JavaScript src=mmenudom.js><\/scr"+"ipt>");
</script>
<SCRIPT language=JavaScript src="/menu_data.js" type=text/javascript></SCRIPT>
<script language="JavaScript" type="text/JavaScript" scr="/java.js">
Am building the site using Dreamweaver MX.
Any suggestions ?
Re: Menu disappeared ?
Poster: kevin3442
Dated: Friday February 27 2004 - 17:09:09 GMT
Shelleuk wrote:
My menu has been working fine up to now...but something has happened to make the whole thing disappear...I had been filling in the menu_data.js when this happened, but that shouldn't have made any difference....?
Actually, depending on what you do, it could make a big difference... Plus, if you haven't altered anything else, logic suggests that the culprit is somewhere in the changes to menu_data.js (jeez... now I sound like Mr. Spock).
Can you post a URL to the site, so we can have a look... check to see what might be the problem? If not, can you post the contents of your menu_data.js file here (inside of BBCode "code" tags please!)?
Kevin
Poster: Andy
Dated: Friday February 27 2004 - 17:38:09 GMT
Hi Michelle,
The error message on your website is "Error: Unterminated string constant" -
What this means is that you have a text string opened but it hasn't been
closed somewhere in your code.
The error message states that the error is on line 98 out but this cannot
always be relied upon. It also doesn't tell you which file is at fault. As
Kevin says, the error messages can be a little cryptic and sometimes do more
harm than good.
Anyway, after looking at your data file I can see the problem. Where you
have:
Code:
aI("text=Hard Drive Recovery;url=/hard_drive.htm;status=Data Recovery UK Ltd Hard Drive Recovery;
Change it to:
Code:
aI("text=Hard Drive Recovery;url=/hard_drive.htm;status=Data Recovery UK Ltd Hard Drive Recovery;");
Note there is only one " in the first aI string.
Hope this helps
Andy