PDA

View Full Version : Tab Content script and MSIE



datonn
05-15-2009, 05:55 PM
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

ddadmin
05-17-2009, 07:14 PM
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.

X96 Web Design
05-17-2009, 08:46 PM
IE's JavaScript is different than W3C javaScript. Don't listen to it... As long as the script works, the script's fine.

// X96 \\