Solved

how to change event one element to another using jquery?

Posted on 2014-03-12
6
162 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 54

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 54

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
Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

 

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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Create associate webpages / websites 3 78
Change to event 1 111
Need Multiple Versions of Python Using Virutalenvwrapper-win and Virtualenv 5 59
groovy example issue 10 97
Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
Read about why website design really matters in today's demanding market.
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
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.

813 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

11 Experts available now in Live!

Get 1:1 Help Now