Help with XHTML and JavasScript
Hey everyone, I just joined the community. I need a little help with a
script that is choking in Mozilla when I change the DOCTYPE to XHTML
Transitional.
It's the scrolling script found
here. What I am using it for is scrolling news
articles within a table structure. The script works great in both IE6 and
Mozilla 1.3 when the DOCTYPE is not present or set to HTML 4.0. As soon as
I change it to XHTML, Mozilla chokes and displays the DHTML layer at
window:0,0 and all of the layers suddenly become visible. Meanwhile, it
looks fine in IE and it also validates. I have uploaded the page and
scripts
here.
I guess the script doesn't have to be XHTML, but my boss would really
prefer it was. Since the rest of the site will be XHTML compliant, it
would seem odd that the index.html page wouldn't. Any help would be
greatly appreciated. Thanks!
Current Mood:
frustrated