SitePoint Sponsor

User Tag List

Results 1 to 7 of 7
  1. #1
    SitePoint Member
    Join Date
    Dec 2007
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    my site is ok with firefox but crashes with IE

    hi there,

    i recently create a website hosted at "eio.110mb.com" with some quizzes in javascript (made with quizfaber) that works fine in firefox, but in internet explorer when i click on "verificar" button (check answers) crashes IE7 (IE6 i don't know). see at http://eio.110mb.com/ingles/past_simple_1.html . In my machine works fine on both but when hosted don't.... i dont see whats wrong! can anyone help me?

    see an example file in attachment.

    tks in advance....
    Attached Files Attached Files

  2. #2
    Programming Team silver trophybronze trophy
    Mittineague's Avatar
    Join Date
    Jul 2005
    Location
    West Springfield, Massachusetts
    Posts
    17,255
    Mentioned
    196 Post(s)
    Tagged
    2 Thread(s)

    errors

    Hi malapeiro, welcome to the forums.
    These is not related, but you should change your menus.css file
    Code:
    background-image: url(file:///C|/Documents%20and%20Settings/Ricardo%20Rocha.RICARDO-83624E8/Desktop/current.gif);
    After clicking "verificar", this file is - not found - http://eio.110mb.com/ingles/quiz.js Is the path and filename correct?
    The page's mark-up also has
    HTML Code:
    <li><a href="file:///C|/Documents and Settings/Ricardo Rocha.RICARDO-83624E8/Desktop/produtos.html">Forum</a></li>
    that needs to be fixed.
    BTW, it hangs IE6 too. I think it may have something to do with the browser-sniffing - object/embed code. If you comment out that does it still hang?

  3. #3
    SitePoint Member
    Join Date
    Dec 2007
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    tks Mittineague, you save my project from death... thank you very much...

    But i was wondering how you figure that? how you know that the crash it was because the quiz.js file?

    the other issues i&#180;m going to change , the website is online just for testing...

    once again many thanks....

  4. #4
    Programming Team silver trophybronze trophy
    Mittineague's Avatar
    Join Date
    Jul 2005
    Location
    West Springfield, Massachusetts
    Posts
    17,255
    Mentioned
    196 Post(s)
    Tagged
    2 Thread(s)

    IE crash

    When I went to look at the quiz.js file, I got the not found error. I really didn't know that the quiz.js file not being found was causing the IE hang, but it seemed a likely suspect. As you see, I also suspected it might have to do with the browser-sniffing - object/embed code.

  5. #5
    SitePoint Member
    Join Date
    Dec 2007
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    yes, but what take u to quiz.js... it was the code in the attach files or from the website eio.110mb.com?

  6. #6
    reads the ********* Crier silver trophybronze trophy longneck's Avatar
    Join Date
    Feb 2004
    Location
    Tampa, FL (US)
    Posts
    9,854
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    your attachment has not been approved. i would prefer to not approve it since the code is very long and it would be time-consuming to look for any malicious code (accidental or otherwise). also, the same code should be available through your website so the attachment is not necessary.

  7. #7
    Programming Team silver trophybronze trophy
    Mittineague's Avatar
    Join Date
    Jul 2005
    Location
    West Springfield, Massachusetts
    Posts
    17,255
    Mentioned
    196 Post(s)
    Tagged
    2 Thread(s)

    how found

    I was using the Firefox error console to find javascript errors. It gave a "syntax error" that indicated the quiz.js file and showed the 404 page's mark-up. I then made a direct HTTP request for the file and got the not found page.


Bookmarks

Posting Permissions

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