View Full Version : Doctype "breaks" Tower of Hanoi

12-07-2006, 09:14 PM
1) Script Title: Tower of Hanoi

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex12/hanoi.htm

3) Describe problem:

The Tower of Hanoi script works fine as-is, on my site, however when I attempt to add a Doctype declaration, the script seems to break. The forms all seem to work, and the instructions pop-up, however the discs will not move. This is an issue in FF and IE6 and 7. I am quite puzzled at this since I know that there is nothing wrong with the Doctype I am using and I do not see why a Doctype would "break" the script. :confused:

Tower of Hanoi: No Doctype (http://www.doriennesmith.com/peace/hanoi2.html); With Doctype (http://www.doriennesmith.com/peace/hanoi.html) (problem persists regardless of styles used).

Can anyone help me with this?

Many thanks!