Results 1 to 3 of 3

Thread: Floating Menu Script

  1. #1
    Join Date
    Mar 2008
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Floating Menu Script

    1) Script Title: Floating Menu Script

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...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
    Code:
    <!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.

  2. #2
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    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?
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  3. #3
    Join Date
    Feb 2008
    Location
    Cebu City Philippines
    Posts
    1,160
    Thanks
    17
    Thanked 277 Times in 275 Posts

    Default

    @Daniel,

    I was reading this thread:
    http://dynamicdrive.com/forums/showthread.php?t=31396

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

    This script does'nt work when your page has DTD
    Learn how to code at 02geek

    The more you learn, the more you'll realize there's much more to learn
    Ray.ph!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •