Results 1 to 3 of 3

Thread: Tab Content script and MSIE

  1. #1
    Join Date
    May 2009
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Tab Content script and MSIE

    1) Script Title: Tab Content script

    2) Script URL (on DD): I don't have the script URL, but here is the block of text from the top of the .js file that I am writing about:

    /***********************************************
    * Tab Content script- Dynamic Drive DHTML code library (www.dynamicdrive.com)
    * This notice MUST stay intact for legal use
    * Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
    ***********************************************/

    3) Describe problem:
    I've noticed a chronic problem of MS Internet Explorer flagging an error in the script, particular to line 51:

    tabobjlinks=tabobj.getElementsByTagName("A")

    I brought that script in to a few web sites I have built as-is, so that .js code has not been modified in any way. I am simply wondering if there is a more "modern" equivalent to that Tab Content script (this one was written in 2005-2006, I believe) which will stop getting flagged by MSIE for errors.

    Thanks for any help folks may be willing to offer! - Derek

  2. #2
    Join Date
    Aug 2004
    Posts
    10,140
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Does the error occur on the DD demo page as well? If not, please post a link to the page on your site that contains the problematic script so we can check it out.
    DD Admin

  3. #3
    Join Date
    Feb 2009
    Posts
    303
    Thanks
    18
    Thanked 36 Times in 36 Posts

    Default

    IE's JavaScript is different than W3C javaScript. Don't listen to it... As long as the script works, the script's fine.

    // X96 \\
    Alex Blackie, X96 Design
    My Website
    I specialize in: HTML5, CSS3, PHP, Ruby on Rails, MySQL, MongoDB, Linux Server Administration

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
  •