greetings.
i work for a non-profit arts company and we use javascript on our website for our navigation bar with sub-menus.
our website has been written by several people over a long time and so there is old code alongside newer code. our current doctype is listed as:
<!doctype html public "-//W3C//DTD HTML 3.2 Final//EN">
but i'm interested in updating the doctype and conforming to current standards. however i've noticed if i replace the current doctype with a HTML 4.01 or XHMTL 1.0 doctype then suddenly the javascript menu can no longer be accessed - it isn't even visible!!
i can't find anywhere else online that talks about this, so i'm reckoning it must be a conflict of our code, a mis-closed tag or something of the sorts, does anybody know if there are javascript/doctype conflicts?? how does simply listing the doctype effect the javascript? the browser reads the doctype and conforms to that doctype's standards, and so renders our JS invisible in this case??
one of our many pages can be found here:
http://location1.org/artists/wed_openhouse.html
regards,
nick c/o location one
i work for a non-profit arts company and we use javascript on our website for our navigation bar with sub-menus.
our website has been written by several people over a long time and so there is old code alongside newer code. our current doctype is listed as:
<!doctype html public "-//W3C//DTD HTML 3.2 Final//EN">
but i'm interested in updating the doctype and conforming to current standards. however i've noticed if i replace the current doctype with a HTML 4.01 or XHMTL 1.0 doctype then suddenly the javascript menu can no longer be accessed - it isn't even visible!!
i can't find anywhere else online that talks about this, so i'm reckoning it must be a conflict of our code, a mis-closed tag or something of the sorts, does anybody know if there are javascript/doctype conflicts?? how does simply listing the doctype effect the javascript? the browser reads the doctype and conforms to that doctype's standards, and so renders our JS invisible in this case??
one of our many pages can be found here:
http://location1.org/artists/wed_openhouse.html
regards,
nick c/o location one