Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 11 of 11
  1. #1
    New to the CF scene
    Join Date
    Feb 2003
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Exclamation error in line 126 (i have only 119 lines)

    in a website i have made a lill menu

    when i go there all is fine, works as a charm.

    Now some others, that seem to have iexplorer 5.5 as well (so do i) go to this page

    and it gives some errors (weird, lol)
    so first thing i do is check out these error lines (it gave multiple)

    some are just a basic command in java script

    some lines are blank

    and

    some lines have a number higher even than the amount of lines (including the white lines) that i have.

    I counted the lines by hand, by using dreamweaver and exel.
    all counts result in 119 lines (for this page's code)

    but
    he gets errors in line 126 and line 127

    any ideas????????????
    http://home.hetnet.nl/~marco_marks/standardleft.htm is the doc in question

  • #2
    Regular Coder
    Join Date
    Nov 2002
    Location
    Carmel California
    Posts
    471
    Thanks
    0
    Thanked 1 Time in 1 Post
    ie 6, windows xp works great, ps do you have any external javascript sourse files on that page
    there lines add up to the page lines
    Kris Hubby
    kwhubby site

  • #3
    Regular Coder
    Join Date
    Jun 2002
    Posts
    623
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I think IEs error alerts aren't acurate. You should just treat them as a rough guess This gives me an error on line 8 in IE6.

    <html>
    <head>
    <title></title>
    <script>
    var
    </script>
    </head>
    <body>
    </body>
    </html>

  • #4
    Regular Coder
    Join Date
    Nov 2002
    Location
    Carmel California
    Posts
    471
    Thanks
    0
    Thanked 1 Time in 1 Post
    wierd, Ive seen that happen once before on ie 5.0, windows 98. I thought it was a bug that they fixed, cause I never get it on mine (but the version of Ie I use says its Side-by-Side Mode wich is really wierd, but javascript tells me I am using Ie 6.)
    , and I get lots of erors when I write scripts, (yes I am messy when I script) and I never get inacurate error messages
    Kris Hubby
    kwhubby site

  • #5
    New Coder
    Join Date
    Jun 2002
    Posts
    72
    Thanks
    0
    Thanked 0 Times in 0 Posts

    ...

    Interesting... I never get accurate error messages.
    If at first you don't succeed, spend more time online researching javascript!
    Beck

  • #6
    New to the CF scene
    Join Date
    Feb 2003
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    hmm :( any wau to stop em from getting the messages?

    ok
    ill just take it lying down that there are some weird messages
    but all in all they see what i want em to see, so even with them bloody messages there is no real prob (but i dislike it)

    Is there a way to prevent them to see the mesages?

  • #7
    Regular Coder Skyzyx's Avatar
    Join Date
    Aug 2002
    Location
    Silicon Valley, CA
    Posts
    980
    Thanks
    0
    Thanked 0 Times in 0 Posts
    window.onerror=void(0); should work.

    Creator of SimplePie and Tarzan AWS, co-founder of WarpShare, co-built the Y! Messenger website, usability-focused, and an INFJ personality.

  • #8
    New Coder
    Join Date
    Jan 2003
    Location
    Belgium
    Posts
    74
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I guess u found a solution because I can't find your error
    SToFFeL

  • #9
    Regular Coder
    Join Date
    Nov 2002
    Posts
    672
    Thanks
    1
    Thanked 1 Time in 1 Post
    I have Windows 98 and IE 5.0. If you want to see if this is a reproducable bug, I'm interested. I've always had a problem with IE 6.0 in XP where it says line 0 col 0 has an error, even after you refresh the page. You have to close IE and then reopen the page for it to give you the proper line and error description. It displays errors of problems you had already fixed. You can't tell if the error is gone until reopening IE with the page. And many more problems where that came from. I'm sticking to 98.

  • #10
    Regular Coder
    Join Date
    Nov 2002
    Location
    Carmel California
    Posts
    471
    Thanks
    0
    Thanked 1 Time in 1 Post
    its wierd, even if you have the same os and browser there are still differences per individual computer!!.
    like mine xp, ie 6 works fine with a script i made, yet it failed on another system with the same.
    Kris Hubby
    kwhubby site

  • #11
    Regular Coder
    Join Date
    Nov 2002
    Posts
    672
    Thanks
    1
    Thanked 1 Time in 1 Post
    Very true. I have seen some Windows 2000 and XP computers that are uncapable anything other than BMP and JPG files in MS-Paint. While my Win98 opens BMP, GIF, PCX, and JPG all fine.


  •  

    Posting Permissions

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