Click here to Skip to main content
15,395,950 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hello ,
i am creating a HTML page offline creator all what you have to do is to drag an object to your page to implement it but i am facing a problem in the drag and drop , how to get the location of an object after it is dragged for example if we have a button tool in the tool box that enable you to add a button to your html page then you dragged it and dropped it in (112,112)
pixels from the start of the screen hoe to get it's location from the panel and how to drop it in it's position
Posted
Updated 11-Feb-14 2:49am
v2
Comments
Zubair Alie 11-Feb-14 8:58am
   
Add control inside a div and make its position absolute with proper Top left right and bottom attributes.
Member 10158885 20-Feb-14 23:28pm
   
okay but how to create the drag an drop process

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900