Why javascript menu sample does not float and why I cannot centre the menu?
Q:
I think I am almost there.
I would like to know a couple of things.
Why the menu does not float?
Why I cannot centre the javascript menu sample?
A:
When you use floatable menu you can’t use relative menu position.
So, if you use
var absolutePos = 0;
and to center the menu you use <p> or <div> with the center alignment your javascript menu sample won’t float.
To center your floatable menu you should set absolute coordinates.
var absolutePos = 1;