Java causing runtime errors

message from Paul in San Diego on 16 Jul 2004
I have some javascript that was created by DW MX, and it's causing a runtime
error on line 35. Problem is that I don't know what to do to get rid of it!
It says menuitem 1 is not defined but that line has no menuitem 1 in it!

Is the debugger looking at different lines than DW MX has numbered? I don't
get it.
 
Murray *TMM* replied to Paul in San Diego on 16 Jul 2004
It means that you have altered the code on the page in such a way that the
javascript can no longer find menuitem1. It also means that to determine
what you have done to cause this, I would need to see the page. Can you
show me the code?

By the way, attachments are discouraged for this and other Macromedia
forums, and to make matters worse, they do not carry forward from the
webforums into the NNTP forums, which is where most of the people who post
answers are visiting. If you want to broadcast your code so that everyone
can see it, the only real way is a) to paste it into a reply (not great if
there is lots of code), or b) to upload it somewhere and post a URI to it.

Be aware that if you paste voluminous quantities of code into a reply, the
code may get truncated when transferring to the NNTP forum. This can be
quite confusing to both poster, and reader. The best bet would be to upload
the page and post a URI.
 
Paul in San Diego replied to Murray *TMM* on 16 Jul 2004
Sorry I thunk that I had put the url in the message. I got rushed by a
phone call. The url is www.4quiche.com
The offending page is the index page. I pulled the code out of that line
and refreshed my browser but no help.

Thanks!

"Murray *TMM*" <forums@HAHAgreat-web-sights.com> wrote in message
news:cd90dm$23g$1@forums.macromedia.com...
 
Murray *TMM* replied to Paul in San Diego on 16 Jul 2004
You have radically altered the original page concept by deleting the entire
top menu structure. As a result, you need to delete the associated events.

Try changing this -

<body onmousemove="closesubnav(event);">

to this -

<body>

and see what happens.
 

Archived message: Java causing runtime errors (Macromedia Dreamweaver Web Design)