Top.Mail.Ru
? ?
Javascript's Journal
 
[Most Recent Entries] [Calendar View] [Friends View]

Friday, May 9th, 2003

Time Event
10:37a
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: Image frustrated

<< Previous Day 2003/05/09
[Calendar]
Next Day >>
About LiveJournal.com
Image