PDA

View Full Version : Javascript Help!! Firefox Error Console and confusing javascipt errors?



videominds
February 15th, 2006, 12:03 PM
If you go to the page.

http://www.tsystom.com/work.html

Then if you click on any of the navigation on the left the firefox error console pops up. I had figured out most of the previous errors that arrose from this site, but I can not figure out what the last error is saying?

People are getting annoyed, and some browers show the error and some don't. The site itself works fine. Except for the annoying errors.

Anyone know what the heck I need to fix??

Thanks.

mlk
February 15th, 2006, 12:07 PM
try javascript; instead of javascript:

videominds
February 15th, 2006, 12:35 PM
try javascript; instead of javascript:

When I use "javascript;" it tries to go to a link. That is not there.

antizip
February 15th, 2006, 12:43 PM
so why not remove all the onClick's and in the href use "javascript:MM_openBrWindow( ... );"

Ex:

<a href="javascript:" onClick="MM_openBrWindow('web/robocop.html','robocop','toolbar=no,scrollbars=no, resizable=no,width=170,height=650')">

to:


<a href="javascript:MM_openBrWindow('web/robocop.html','robocop','toolbar=no,scrollbars=no, resizable=no,width=170,height=650')">

videominds
February 15th, 2006, 12:46 PM
When I use "javascript;" it tries to go to a link. That is not there.

so I tried "javascript:;" and it seemed to work for now.