Javascript does not work for one web site on IE7

Discussion in 'Internet Explorer' started by Ken Friedman, Sep 26, 2007.

  1. Ken Friedman

    Ken Friedman Guest

    I have one web site where javascript does not work at all. It only happens on
    this web site and only on one of my two systems where I have IE7 installed.
    This also happened on IE6 on this one system only. All other non-Microsoft
    browsers do not have this problem.

    What could be causing this? How can i fix this?

    TIA.

    Ken Friedman
     
    Ken Friedman, Sep 26, 2007
    #1
    1. Advertisements

  2. Ken Friedman

    Rob ^_^ Guest

    Hi Ken,

    Either an Addon is blocking Active Scripting or your security zone settings
    for the site have Active Scripting disabled. (Tools>Internet
    Options-Security tab).

    Usually web pages use <noscript> tags to tell users if they have active
    scripting enabled in their browsers.

    Regards.
     
    Rob ^_^, Sep 27, 2007
    #2
    1. Advertisements

  3. Ken Friedman

    Ken Friedman Guest

    Rob,

    If an add-on or a browser security setting blocks active scripting, the the
    other web sites that use Javascript would not work either. They do.

    I looked up the <noscript> tag in an HTML book. It says this tag is an
    alternative to provide additional information. However, if the browser does
    not support scripting, it will not even recognize the tag.

    Thanks for your attempt to offer help. Frnakly, I am at a loss why this does
    not work.

    Ken Friedman
     
    Ken Friedman, Sep 27, 2007
    #3
  4. Hi,

    If Rob's suggestion in this thread does not resolve your issue, please post
    a link to the site in question.

    Good luck,

    Donald Anadell
     
    Donald Anadell, Sep 27, 2007
    #4
  5. Ken Friedman

    Ken Friedman Guest

    Ken Friedman, Sep 27, 2007
    #5
  6. Ken Friedman

    C A Upsdell Guest

    I doubt this explains your problem, but it wouldn't hurt to take a look
    at these:

    1. Your DOCTYPE is on the 2nd line, which will make IE6 render the page
    in quirks mode.

    2. You have 9 HTML validation errors.

    3. You have 31 CSS validation errors.

    4. When I try with Firefox, its Error Console reveals 11 JavaScript
    warnings.

    5. The JavaScript includes a browser sniffer that is flawed, e.g. the
    line "var is_gecko = (agt.indexOf('gecko') != -1);" will identify Safari
    as a Gecko browser.

    The quality of the code makes me wonder how reliable the JavaScript is.
     
    C A Upsdell, Sep 27, 2007
    #6
  7. Ken Friedman

    Ken Friedman Guest

    This does not explain why the javascript works on IE7 on other systems. I
    used Netbojects fusion to generate the web site so i have little control over
    the positioning of HTML statements.
     
    Ken Friedman, Sep 27, 2007
    #7
  8. Can't you change the positioning of HTML statements in your code/source
    view?

    | This does not explain why the javascript works on IE7 on other systems. I
    | used Netbojects fusion to generate the web site so i have little control
    over
    | the positioning of HTML statements.
    |
    | "C A Upsdell" <""cupsdell"@nospam@upsdel" wrote:
    |
    | > Ken Friedman wrote:
    | > > Don,
    | > >
    | > > The web site's URL is: http://www.battle-of-leyte-gulf.com/. When I
    access
    | > > this web site from another system running either IE6 or IE7,
    javascript works.
    | > >
    | >
    | > I doubt this explains your problem, but it wouldn't hurt to take a look
    | > at these:
    | >
    | > 1. Your DOCTYPE is on the 2nd line, which will make IE6 render the page
    | > in quirks mode.
    | >
    | > 2. You have 9 HTML validation errors.
    | >
    | > 3. You have 31 CSS validation errors.
    | >
    | > 4. When I try with Firefox, its Error Console reveals 11 JavaScript
    | > warnings.
    | >
    | > 5. The JavaScript includes a browser sniffer that is flawed, e.g. the
    | > line "var is_gecko = (agt.indexOf('gecko') != -1);" will identify Safari
    | > as a Gecko browser.
    | >
    | > The quality of the code makes me wonder how reliable the JavaScript is.
    | >
     
    Tom [Pepper] Willett, Sep 27, 2007
    #8
  9. Hi,

    I clicked all around on your site with IE6 and IE7 and had no problem with
    JavaScript Menu at all. The only way I'm able to disable your JavaScript
    Roll Over Menu here is to either Disable "Active Scripting" in the Internet
    Zone, or put your site in the Restricted Sites Zone with Default Settings.

    Sorry I don't have anything else to offer other than what's been posted here
    already.

    Good luck,

    Donald Anadell
     
    Donald Anadell, Sep 27, 2007
    #9
  10. Ken Friedman

    Ken Friedman Guest

    Tom,

    Yes, I can. But this cumbersome and hard to maintain since I use Net Objects
    Fusion to make changes to the site. Even if I did this, it won't make any
    difference. I can access the web site on other systems with IE7 and the
    Javascript works.

    Ken Friedman
     
    Ken Friedman, Sep 28, 2007
    #10
  11. Ken Friedman

    Ken Friedman Guest

    Donald,

    Now you see what frustrates me. It is clear to me there is some setting
    somewhere on this system that causes this phenomenon. Thanks for your
    attempts to help.

    There is one consolation. Others can access my web site iwth thgis problem
    happening.
     
    Ken Friedman, Sep 28, 2007
    #11
  12. Hi Ken,

    If, as you state "This also happened on IE6 on this one system only" the
    problem is only occuring on one machine whether IE6 or IE7 is installed on
    that machine, there is one more thing you might try. You may need to
    refresh the Scripting Engine on that particular machine.

    First try re-registering the two following dll files one at a time:
    Click Start||Run and type or copy and paste the following into the Run box:
    regsvr32 jscript.dll
    then try the next one
    regsvr32 vbscript.dll

    Or download and reinstall the Scripting Engine for Windows XP:
    http://www.microsoft.com/downloads/...25-D896-482E-A0D6-524E7E844D81&displaylang=en

    Good luck,

    Donald Anadell
     
    Donald Anadell, Sep 28, 2007
    #12
  13. Ken Friedman

    Ken Friedman Guest

    Donald,

    I reregistered the two DLLs. No luck. I downloaded the Scripting Engine,
    installed it, and still no luck. why does Javascript not work on IE7 on THIS
    WEB SITE ONLY? I am stumped. Any other suggestions?

    Ken
     
    Ken Friedman, Sep 28, 2007
    #13
  14. Ken Friedman

    Ken Friedman Guest

    I found the solution to my problem. I clicked Tools-Internet Options-Advanced
    and click the Reset button to restoro the original settings for IE7. Now
    javascript works on my web sites. I had to re-enable my plugins such as my
    Google and Yahoo toolbars. Now everything works as it should.

    Thanks to everyone who offered suggestions. All is right with the world!!! <g>

    Ken Friedman
     
    Ken Friedman, Sep 30, 2007
    #14
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.