500pts: Moving objects on the screen with mouse? (personalization)

Hi there,

I have seen a few sites where you can actually move around an object i.e. a textbox or picture on the screen. Can anybody help how to do this?

Probably best to explain what i am trying to do. Basically i have a search results page but the admin of the search results page can design the search results page the way he likes it..

Its for a property app. So he says yes show  no. of pics, show description, show number of bathrooms, DO NOT show location etc and then he can move around the objects on the screen until they like it...

Then my idea would be to click a save button and the values like screen co-ordinates etc would be sent via asp.net to the server for storing.

Anybody have any ideas on this?

Thanks

Ian
ianinspainAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

SnowFlakeCommented:
what is the Q ?

it sounds possible.

search a bit for dhtml and drag
e.g.
http://www.walterzorn.com/dragdrop/dragdrop_e.htm
has seems to be woking (IE6SP2).

and on the drop events you can put the values into the fields of a form and send them to your server
as you describe.

when You hit the wall with it - lets us know and we'll be happy to help.

SnowFlake.
ianinspainAuthor Commented:
Sorry, yes basically i need to move around elements on a page and then when clicking a button called save it would send the co-ordinates of the elements to the server so when the page is finally displayed it can position the elements according to the co-ordinates.

Thanks for the look, i am going to  take a look now

ian
anilandeCommented:
go through the following you can drag the elements and can find out the coordinates also

for draging the elements:
http://www.walterzorn.com/dragdrop/dragdrop_e.htm

to find the coordinates
http://www.webreference.com/dhtml/diner/realpos1/6.html

check this

x_coods=document.getElementById('divnam').style.left;
y_coods=document.getElementById('divnam').style.top;

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Your Guide to Achieving IT Business Success

The IT Service Excellence Tool Kit has best practices to keep your clients happy and business booming. Inside, you’ll find everything you need to increase client satisfaction and retention, become more competitive, and increase your overall success.

davidlars99Commented:
I've got something, I used to be working on that website back in 2002, when I fell in love with my very first language Javascript. www.frozendev.com
ianinspainAuthor Commented:
thanks guys, this helps alot.. splitting points..

ian
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
JavaScript

From novice to tech pro — start learning today.