Solved

how to change event one element to another using jquery?

Posted on 2014-03-12
6
167 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
6 Comments
 
LVL 58

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 58

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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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

WordPress Tutorial 4: Recommended Plugins

Now that you have WordPress installed, understand the interface, and know how to install new parts, let’s take a look at our recommended plugins.

Question has a verified solution.

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

Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

623 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