Jump to content
MakeWebGames

Drag and Drop


Recommended Posts

Look on Yahoos YUI pages they have a selection of Drag n Drop Methods

There are many Methods of drag and drop stand alone which users drag from a screen but when screen is refreshed the drag n drop goes back to its original state.

Or theres the dbase method which stores the locations that a user has made so they are in the same place when user refreshes screen

Edited by illusions
Link to comment
Share on other sites

never played torn so i dont know exactly what you want but all dragging and dropping is is on mousedown set a variable isdragging to true then onmousemove set the objects/elements to the mouse cursors position which can be retrieved by event.pageX/pageY or event.mouseX/mouseY

Link to comment
Share on other sites

OMG lol open up Torn's source, and copy the jqery scripts, then copy the area in which those drag and drop is at in the source code, then take out torns names and link it with your tables in your databas, and the fields.. really simple if you know how to copy haha...

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...