|
Why my drag and drop javascript does not float and why I cannot centre the drag and drop javascript?
Return to Recent Questions
Q:
I think I am almost create my drag and drop javascript.
I would like to know a couple of things.
Why the drag and drop javascript does not float?
Why I cannot centre the drag and drop javascript?
A:
When you use floatable drag and drop javascript you can't use relative drag and drop javascript position.
So, if you use relative position for the drag and drop javascript and to center the drag and drop javascript you use <p> or <div> with the center alignment your menu won't float.
To center your floatable drag and drop javascript you should set absolute coordinates.
var absolutePos = 1;
var PosX = "50%";
var PosY = "40";
Return to Recent Questions
Related:
|