HighDots Forums  

Re: Beautiful page ruined (not quite) by syntax error

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Re: Beautiful page ruined (not quite) by syntax error in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Gary White
 
Posts: n/a

Default Re: Beautiful page ruined (not quite) by syntax error - 12-25-2003 , 08:01 PM






"kmuel" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
Problem details:

Line; 118
Char: 1
Error: Syntax error
Code: 0

Clearly, the problem is not with the lines you posted. If you post a link to
the page, perhaps someone can spot it for you.

Gary




Reply With Quote
  #2  
Old   
animeloving webforumsuser@macromedia.com
 
Posts: n/a

Default Re: Beautiful page ruined (not quite) by syntax error - 12-25-2003 , 09:02 PM






Maybe while you fix the problem you can insert this in the <HEAD> section of your site:

<script>
function stoperror(){
return true
}
window.onerror=stoperror
</script>

Anyway, this won't be solving your problem, it will just hide the JavaScript errors. Again, you should try to fix it.

Good Luck
Fede



Reply With Quote
  #3  
Old   
kmuel webforumsuser@macromedia.com
 
Posts: n/a

Default Re: Beautiful page ruined (not quite) by syntax error - 12-25-2003 , 11:17 PM



I feel this is a too complex issue for a simple discussion, but I will provide the link to my site.
Thanks for the "fix" to hide the error. It works fine.

http://www.muellercomputers.com




Reply With Quote
  #4  
Old   
Gary White
 
Posts: n/a

Default Re: Beautiful page ruined (not quite) by syntax error - 12-26-2003 , 02:12 AM



"kmuel" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
I feel this is a too complex issue for a simple discussion, but I will
provide the link to my site.
Thanks for the "fix" to hide the error. It works fine.

http://www.muellercomputers.com

Yes, hiding an error just makes it harder to debug. The error is caused by
this line:

<td> <a target="_blank"
href="mailto:muellerken (AT) mmode (DOT) com;%20kmuel (AT) muellercomputers (DOT) com"><img
onclick='<IMG SRC="Blue-hills.jpeg" HEIGHT=90 WIDTH=120>' usemap="#Map"
border="0" height="47" width="24" src="_files/go.jpg"></a></td>


The onClick event assignment is bad. I don't know what you're trying to
accomplish with it.

Gary




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.