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 5 of 5
  1. #1
    New to the CF scene
    Join Date
    Aug 2006
    Location
    Brooklyn, NY
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Internet Explorer IE Javascript Error

    Hi,

    I have a page where the masthead, main navigation and footer is being called by javascript. It looks fine in Firefox; but IE gives and error. What could it be?

    http://3elevencreative.com/clients/btq/

    The javascripts are:

    http://www.btquarterly.com/javascripts/ks/header.js
    http://www.btquarterly.com/javascrip...av_standard.js
    http://www.btquarterly.com/javascripts/ks/footer_ads.js

  • #2
    Senior Coder
    Join Date
    Apr 2005
    Posts
    1,051
    Thanks
    0
    Thanked 0 Times in 0 Posts
    well first off you have no doctype, or page header.

    look at the W3C standards.
    http://www.w3.org/MarkUp/
    public string ConjunctionJunction(string words, string phrases, string clauses)
    {
    return (String)(words + phrases + clauses);
    }
    <--- Was I Helpfull? Let me know ---<

  • #3
    Kor
    Kor is offline
    Red Devil Mod Kor's Avatar
    Join Date
    Apr 2003
    Location
    Bucharest, ROMANIA
    Posts
    8,478
    Thanks
    58
    Thanked 379 Times in 375 Posts
    Quote Originally Posted by 3ecreative
    Hi,

    I have a page where the masthead, main navigation and footer is being called by javascript. It looks fine in Firefox; but IE gives and error. What could it be?

    http://3elevencreative.com/clients/btq/

    The javascripts are:

    http://www.btquarterly.com/javascripts/ks/header.js
    http://www.btquarterly.com/javascrip...av_standard.js
    http://www.btquarterly.com/javascripts/ks/footer_ads.js
    You think it looks fine in FF. Check the FF javascript console and you will see a loooooong list of CSS and some javascript errors.
    KOR
    Offshore programming
    -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

  • #4
    Senior Coder
    Join Date
    Apr 2005
    Posts
    1,051
    Thanks
    0
    Thanked 0 Times in 0 Posts
    it is a very weird way to produce a page if i may say. All JS calls.

    what about browsers with JS disabled?

    Just my opinion.
    public string ConjunctionJunction(string words, string phrases, string clauses)
    {
    return (String)(words + phrases + clauses);
    }
    <--- Was I Helpfull? Let me know ---<

  • #5
    New Coder
    Join Date
    Apr 2005
    Posts
    84
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Yes, if you're looking for a way to include a single header and footer file on your site, use PHP, not JS.

    http://www.digital-web.com/articles/easypeasy_php/


  •  

    Posting Permissions

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