I have layer in div part with table in the body of the layer. I want to be able to move this layer only by changing x coordinate for example. I am trying to do that by using window.event.clientX and I am getting what I want but only in one direction, when I move cursor in oposit direction nothing happenes. Does anyone have solution?
0 · ·