Solved

how to change event one element to another using jquery?

Posted on 2014-03-12
6
156 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 51

Expert Comment

by:Julian Hansen
Comment Utility
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
Comment Utility
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 51

Expert Comment

by:Julian Hansen
Comment Utility
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
What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

 

Author Comment

by:JohnLourdu
Comment Utility
Absolutely.
0
 

Accepted Solution

by:
JohnLourdu earned 0 total points
Comment Utility
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
Comment Utility
There is no other solution found.
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

If you haven’t already, I encourage you to read the first article (http://www.experts-exchange.com/articles/18680/An-Introduction-to-R-Programming-and-R-Studio.html) in my series to gain a basic foundation of R and R Studio.  You will also find the …
Browsers only know CSS so your awesome SASS code needs to be translated into normal CSS. Here I'll try to explain what you should aim for in order to take full advantage of SASS.
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

743 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

13 Experts available now in Live!

Get 1:1 Help Now