View Full Version : Floating Menu Script

03-24-2008, 08:43 PM
1) Script Title: Floating Menu Script

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

3) Describe problem: Instructions need to include that if pasting this script onto a Dreamweaver CS3 html page, the user needs to delete line 1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> of the html in order for the code to work. At least, that's what I have discovered.

I'm guessing this applies to many other scripts too - not sure.

03-24-2008, 08:55 PM
Dreamweaver is just an html generator and it might do weird things, but in the end it's about having proper html. Having a doctype (though strict is better) is correct, so that should take precedence over DW's trouble. It should be possible, within DW, to make this work anyway, though. Are you sure you aren't getting two doctypes by inserting this into an existing page?

04-12-2008, 01:31 AM

I was reading this thread:

...The same problem applies..having conflicts with DTD..I tested it myself and it seems true :eek:

This script does'nt work when your page has DTD :confused: