Results 1 to 5 of 5

Thread: Javascript Help!! Firefox Error Console and confusing javascipt errors?

  1. #1

    Javascript Help!! Firefox Error Console and confusing javascipt errors?

    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.

  2. #2
    try javascript; instead of javascript:

  3. #3
    Quote Originally Posted by mlk
    try javascript; instead of javascript:
    When I use "javascript;" it tries to go to a link. That is not there.

  4. #4
    176
    posts
    Registered User
    so why not remove all the onClick's and in the href use "javascript:MM_openBrWindow( ... );"

    Ex:
    HTML Code:
    <a href="javascript:" onClick="MM_openBrWindow('web/robocop.html','robocop','toolbar=no,scrollbars=no,resizable=no,width=170,height=650')">
    to:
    HTML Code:
    <a href="javascript:MM_openBrWindow('web/robocop.html','robocop','toolbar=no,scrollbars=no,resizable=no,width=170,height=650')">
    PHP Code:
    <zip> echo this; </zip

  5. #5
    Quote Originally Posted by videominds
    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.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Home About kirupa.com Meet the Moderators Advertise

 Link to Us

 Credits

Copyright 1999 - 2012