Link to home
Start Free TrialLog in
Avatar of JohnLourdu
JohnLourduFlag for Afghanistan

asked on

how to change event one element to another using jquery?

Please unzip and open page1.html
You have find 'Tools' button in bottom center of the page.
By Clicking 'Tools' button, you have to see 4 more buttons.
By Clicking 'Stickers' button you have to see 'Draggable stickers box'.

By clicking one  of sticker image in stickers box:

I need click/mousedown of sticker object to create duplicate of selected item and in the same time make draggable on to the page.

But currently, click/mousedown of sticker object created duplicate item. It is not draggable in same time. Please advice how to do this.

I have attached necessary files for your reference.
OEBPS.zip
Avatar of Julian Hansen
Julian Hansen
Flag of South Africa image

I am able to drag items fine.

If I click on an item in the box it makes a copy which I am able to drag.
Avatar of JohnLourdu

ASKER

Yes, it works. But I need cloned item draggable in same time.
Currently by clicking the sticker item, it clones new item, then we need to select cloned item and then drag. But I need cloned item draggable in same time.
Do you mean dragging out of the box so you click and drag item out of box rather than click  mouse up click and drag?
Absolutely.
ASKER CERTIFIED SOLUTION
Avatar of JohnLourdu
JohnLourdu
Flag of Afghanistan image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
There is no other solution found.