Results 1 to 3 of 3

Thread: Floating menu script help...

  1. #1
    Join Date
    Aug 2006
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Floating menu script help...

    1) Script Title:
    Floating menu script

    2) Script URL (on DD):
    http://www.tummytime.co.uk/services.asp

    3) Describe problem:
    Can any one tell me why it doesn't work. My developer who is off due to a bug used it on this site: http://www.whitecanvas.co.uk/printServices.htm

    I copied and pasted the code, it don't work for me. He thinks it might have something to do with my page being asp.

    Can some one see what the issue is.

    I am pulling in an include file to be used as the floating menu.

    I hope that makes sense

    Thanks
    MAK

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Actually, it is probably your DOCTYPE. That script is out of date for most modern DOCTYPE's.

    You are using an XHTML DOCTYPE and your page isn't XHTML as far as I can see. You should get rid of all those /> things and use an HTML DOCTYPE. Also get rid of:

    HTML Code:
    <html xmlns="http://www.w3.org/1999/xhtml">
    Just use:

    HTML Code:
    <html>
    This still won't fix the script unless you use the same DOCTYPE as the htm page does or no DOCTYPE, not a real good idea in either case as, either puts the browser into quirksmode. Here is an updated version of the script:

    http://www.dynamicdrive.com/forums/s...ad.php?t=13239

    If you were validating with your XHTML DOCTYPE, you should be able to use HTML 4.01 strict. Otherwise, use HTML 4.01 transitional. Don't forget to get rid of those /> things, just use >
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Aug 2006
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    thank you for your reply. Il try that on monday and report back with progress. My devloper will also be in so il see what he can do.

    Thank you

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
  •