PDA

View Full Version : Jim's DHTML menu V5.7 : DOCTYPE problem!



didgex
02-12-2008, 03:11 PM
1) Script Title: Jim's DHTML menu V5.7

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/jimmenu/index.htm

3) Describe problem:

The problem that I am going to describe is ONLY only showing in Safari Webbrowsers in OSX Leopard. In other browsers (both OSX and Windows) it shows correctly.

The problem shows once there is a DOCTYPE in the document.
e.g. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
I tested several doctypes, but none works.

Only in Safari the menu looks like this :

http://luna.kapperludo.com/test/images/test.png

I did not made any changes to the code. It is just the demo like it was downloaded, but WITH the doctype.
Removing the doctype is the only solution I found, but of course that is not a nice thing to do.

Here's our test URL : http://luna.kapperludo.com/test/example2.htm

The problem also shows on the demo page on DD itself :
http://www.dynamicdrive.com/dynamicindex1/jimmenu/example2.htm

Any ideas ?