HighDots Forums  

Java causing runtime errors

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Java causing runtime errors in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Paul in San Diego
 
Posts: n/a

Default Java causing runtime errors - 07-16-2004 , 12:37 PM






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.



Reply With Quote
  #2  
Old   
Murray *TMM*
 
Posts: n/a

Default Re: Java causing runtime errors - 07-16-2004 , 12:40 PM






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.


--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver MX
(If you *MUST* email me, don't LAUGH when you do so!)
==================
news://forums.macromedia.com/macromedia.dreamweaver - THE BEST WAY TO GET
ANSWERS
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"Paul in San Diego" <me (AT) you (DOT) com> wrote

Quote:
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.





Reply With Quote
  #3  
Old   
Paul in San Diego
 
Posts: n/a

Default Re: Java causing runtime errors - 07-16-2004 , 01:01 PM



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 (AT) HAHAgreat-web-sights (DOT) com> wrote

Quote:
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.


--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver MX
(If you *MUST* email me, don't LAUGH when you do so!)
==================
news://forums.macromedia.com/macromedia.dreamweaver - THE BEST WAY TO GET
ANSWERS
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"Paul in San Diego" <me (AT) you (DOT) com> wrote in message
news:cd9081$1tv$1 (AT) forums (DOT) macromedia.com...
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.







Reply With Quote
  #4  
Old   
Murray *TMM*
 
Posts: n/a

Default Re: Java causing runtime errors - 07-16-2004 , 01:06 PM



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.

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver MX
(If you *MUST* email me, don't LAUGH when you do so!)
==================
news://forums.macromedia.com/macromedia.dreamweaver - THE BEST WAY TO GET
ANSWERS
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"Paul in San Diego" <me (AT) you (DOT) com> wrote

Quote:
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 (AT) HAHAgreat-web-sights (DOT) com> wrote in message
news:cd90dm$23g$1 (AT) forums (DOT) macromedia.com...
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.


--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver MX
(If you *MUST* email me, don't LAUGH when you do so!)
==================
news://forums.macromedia.com/macromedia.dreamweaver - THE BEST WAY TO
GET
ANSWERS
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"Paul in San Diego" <me (AT) you (DOT) com> wrote in message
news:cd9081$1tv$1 (AT) forums (DOT) macromedia.com...
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.









Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.