There is no DOCTYPE at the very start of the page (there is one later on, but this is of no help in IE). That would be a problem in IE with this script. Also, and I realize this is just a local/private/test page, when you go live, you need to include the script credit on the page ala:
Your page is in violation of Dynamic Drive's
usage terms, which, among other things, state that the script credit must appear in the source code of the
page(s) using the script. Please reinstate the notice first.
As it is though, I couldn't easily find the script on the page. I did find the tag, it should look like so:
Code:
<script type="text/javascript" src="javascript/animated_collapse_menu/animatedcollapse.js">
/***********************************************
* Animated Collapsible DIV- © 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 this script and 100s more
***********************************************/
</script>
I noticed two <head> tags as well, that's invalid, but might not be a problem in this particular regard. Having no DOCTYPE that puts IE into standards compliant mode at the very start of the code is definitely a problem. There could also be other problems.
I also want to mention again that once the page is live, on a real server, this might not be the generated code. As a result, the problem might no longer exist at that point.
Bookmarks