• I don’t know if this belongs here or in “Miscellaneous,” because it’s not really a problem with WordPress, per se, but I’m hoping maybe someone can help, anyway.

    I have a post where I use a Javascript to do a countdown. It’s from this page: https://www.triplux.com/1001/otherlists.asp. I created a “1001 Day Project” as described on the page, although I got the idea from xStaria.com. Anyway, I’ve tried capitalizing and uncapitalizing (since XHTML requires HTML to be lowercase), I put a semicolon after BigDay = new Date("July 29, 2008"), and nothing works. Can anyone tell me what will work (or a PHP script that does the same thing)? Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • With the semicolon at the end of that line, the script works fine for me. Also validates to xhtml 1.0 transitional.
    Why do you say you had to change the javascript code to lowercase?

    [deleted – double post]

    Thread Starter amulet

    (@amulet)

    I didn’t change the code, just the script call (<script language="javascript">). My doctype is xhtml, and that requires that all HTML be lowercase.

    It’s still not showing up for me, in Netscape or IE.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Javascript Problem’ is closed to new replies.