Solved

how to change event one element to another using jquery?

Posted on 2014-03-12
6
159 Views
Last Modified: 2014-08-30
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
0
Comment
Question by:JohnLourdu
  • 4
  • 2
6 Comments
 
LVL 52

Expert Comment

by:Julian Hansen
ID: 39925957
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.
0
 

Author Comment

by:JohnLourdu
ID: 39925993
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.
0
 
LVL 52

Expert Comment

by:Julian Hansen
ID: 39926057
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?
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

Author Comment

by:JohnLourdu
ID: 39926124
Absolutely.
0
 

Accepted Solution

by:
JohnLourdu earned 0 total points
ID: 39926243
I have achieved closely. Please refer custom2.js lines(111 to 287) for first object only.
But I need simplify this. Because some of the pages has more than 90 sticker items.
I have attached updated files for your reference. Please advice how to simplify this.
OEBPS.zip
0
 

Author Closing Comment

by:JohnLourdu
ID: 40294247
There is no other solution found.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Python Encoding Problem \u2013 4 108
Fixed div within Bootstrap carousel item 11 54
What language/protocol is the Angular Chat? 2 57
Excel file not created as expected 7 50
This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now