View Full Version : Floating menu script help...

10-13-2006, 01:36 PM
1) Script Title:
Floating menu script

2) Script URL (on DD):

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


10-13-2006, 06:19 PM
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 xmlns="http://www.w3.org/1999/xhtml">

Just use:


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:


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 >

10-14-2006, 06:49 PM
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