I would like to re-position a textbox on the screen dynamically. I did this a long time ago by using buttons to manually set the width, height, top and left, (position absolute). Although it was a bit awkward it worked. (The information has to be saved
for later presentation.) I have been looking for a more sophisticated way of doing this, (drag /drop resize ), and have beating on the internet with little or to no avail. I have:
made the textarea draggable, used ondragend to execute a function to get clientX and clientY (which act like random number generators) – There is no target the textbox overlays an image.
Added an eventlistener (Same results as 1) Used jquery with a div which worked fine; got draggable and resizable working but I will have to convert this div info into textbox for later presentation.
So am I missing something here – is there an easier way to do this?
Thanks
Go to the complete details ...