How to implement drag and drop functionality in a HTML5 webpage using touch events?

Hi all,
     I need to create a webpage having two parts.One part is having set of SVG images into it and other part is having canvas.I need to drag those image onto the canvas allowing same image for multiple times and those images on the canvas are movable inside the canvas only. This webpage is only used in iphone or ipad like touching devices so I need to handle touch events.
     There is already jQuery plugin for drag drop functionality but it is not supported for touch events.
It is only for desktop veriosns.So if you know about any jquery plugin let me know.
     So please help me to carry out this task.

I have tried using the same but still not working.
I have handled touch events like touchstart,touchend,touchmove.
But the problem is when I drag the image from upperbox onto canvas, the clone of that image is creating but the image which I dragged on canvas gets vanished.
I am creating clone because I want to add multiple images onto canvas.
Atik

Similar Messages

  • How to implement drag-and-drop functionality in xMII iGrid?

    Hi,
    Is it possible to implement the drag and drop functionality between two iGrids of xMII in an irpt page? If yes can anyone please explain how?
    Thanks in advance,
    Dipankar

    http://tool-man.org/examples/sorting.html
    You would have to be creative and do something like this.

  • SharePoint 2013 How to disable Drag and Drop Functionality

    Hi,
    In SharePoint 2013 in document library we have default behavior of drag and drop documents in document library. How to disable drag and drop documents in document library?

    Hi,
         As a work around, you can edit the Drag and Drop js as to remove the drag and drop functionality, edit the document library page (default
    page) place the content editor web part on top of the library include the modified Drag and Drop js file in the content editor web part, Please save the Drag and Drop js file to other location (probably Site Assets library etc).
    Hope it helps!!!  
    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. Thanks, Ajeet

  • Implementing Drag and Drop Functionality

    I'm implementing drag and drop a record from a table to another table.
    I already referred below:
    http://download.oracle.com/docs/cd/E15523_01/web.1111/b31973/af_dnd.htm#CIHDADFG
    But I have a question.
    In example 32-5, there is a source like following:
    +// And now get the actual data from the dragged model.+
    +// Note this won't work in a region.+
    DnDDemoData dnDDemoData = (DnDDemoData)dragModel.getRowData();
    In this case, 'DnDDemoData' type looks like each project's own suitable row type.
    But I don't know what type is suitable in my project.
    I use a two VOs for two tables.
    So I think it's ViewRowImpl class type, but it's not.
    How can I find suitable row type?

    Hi Timo,
    Could not understand what exactly need to have for this...
    // And now get the actual data from the dragged model.
    // Note this won't work in a region.
    DnDDemoData dnDDemoData = (DnDDemoData)dragModel.getRowData();
    Could you please elaborate on this!!!
    Thanks,
    Vin

  • Implement Drag and drop functionality in my application

    I want to drag image from one UIImageView to other UIImageView.
    Is there any event handle to this drag and drop functionality.
    Any one have different idea to handle this. than please reply.
    Any coding idea related to this?

    it is possible but u have to write some advance code to handle plz mention ur Forms version and other info
    Forms 10g and above possible with Java beans
    Forms 6i there is a demo in forms online help ........ Search DRAG
    To enable drag and drop on an item:
    1     Attach the PL/SQL library DRAG.PLL, which contains the  Mouse package, to your module.
    2     Create a WHEN-MOUSE-DOWN trigger on each item that can be dragged.  From this trigger, call the Click routine from the Mouse package.
    3     Create a WHEN-MOUSE-MOVE trigger on each item that can be dragged.  From this trigger, call the Move routine from the Mouse package.
    4     Create a WHEN-MOUSE-UP trigger on each item that can be dragged.  In this trigger, write your application specific code.Baig
    [My Oracle Blog|http://baigsorcl.blogspot.com/]

  • How to implement Drag and Drop in trees

    Hi,
    I have two hierarchical tree in a form, i need to drag each nodes form one tree node and drop into another tree, how i possible. am using Forms 6i developer.

    Drag-n-Drop is only available in Forms by extending Forms with a Java Bean. In order to use a Java Bean in your form, your form MUST be web deployed; if you are using traditional Client/Server with your Forms 6i then there is no way to implement Drag-n-Drop.
    Take a look at: Drag 'n Drop - Oracle Forms PJC and Java Beans. This article was based on using Oracle Forms 9i so you might not be able to implement it in your Forms 6i app.
    Craig...

  • Adding drag and drop functionality to a hbox with a repeater?

    hello,
    I've been searching on how to add drag and drop functionality
    to an hbox. You're probably thinking "just use a tilelist", and
    that's what i'm currently using, but the tilelist cannot align
    items to the center, which is crucial in my application (if you
    need me to explain further i will, but i don't think it's relevant
    here).
    So i need drag and drop on an Hbox. The repeater is necessary
    because the hbox may need to be populated with items initially,
    which can later be dragged and dropped either in itself (to
    re-arrange items) or into another hbox of this kind. For the past
    few hours I've been trying to find anything that can even hint at
    this type of functionality (i've been searching and experimenting
    for hours). If anyone can point me in the right direction, i'd
    appreciate it. Thank you very much. -b

    "bmilesp" <[email protected]> wrote in
    message
    news:gnd5c7$jas$[email protected]..
    > hello,
    >
    > I've been searching on how to add drag and drop
    functionality to an hbox.
    > You're probably thinking "just use a tilelist", and
    that's what i'm
    > currently
    > using, but the tilelist cannot align items to the
    center, which is crucial
    > in
    > my application (if you need me to explain further i
    will, but i don't
    > think
    > it's relevant here).
    Sure it can.
    > So i need drag and drop on an Hbox. The repeater is
    necessary because the
    > hbox
    > may need to be populated with items initially, which can
    later be dragged
    > and
    > dropped either in itself (to re-arrange items) or into
    another hbox of
    > this
    > kind. For the past few hours I've been trying to find
    anything that can
    > even
    > hint at this type of functionality (i've been searching
    and experimenting
    > for
    > hours). If anyone can point me in the right direction,
    i'd appreciate it.
    > Thank
    > you very much. -b
    http://www.quilix.com/node/3

  • How to use the palette or drag and drop functions in netbean?

    Is there anyone who can help me out on using drag and drop function in netbean to design GUI inteface..??
    Is palette is the tool that can be used to drag and drop.??
    thank you in advance.

    I actually really like the GUI builder in netbeans. I used to be a big eclipse user so I am very familiar with coding GUIs by hand, and most of what I do involves GUI's or at least swing.
    At first I hated netbeans, I hated that I couldn't edit the code most. Then I decided to take a deep breath and really examine the issue. What I discovered is that most of the edits I wanted to make but couldn't really weren't the right way to be doing it in the first place, for the rest the code is actually really easy to change you just have to know how.
    Now my palette is huge, probably about 250 objects in it organized into sections that work for me. Basically if I want a object to do something that is not already in the palette I simply write a new object and add it to the palette. I started small like with rounded buttons/progress bars, and as I got comfortable I now have some fairly advanced objects like grids, isometric grids, alpha composits, an animated hourglass countdown timer, and an animated "loading/activity" indicator that is not tied to a progress indicator.
    The main reason I stuck with the netbeans drag and drop GUI builder is it's layout manager is really a very nice layout manager, you couldn't pay me enough to go back to eclipse or codeing GUIs by hand, as I can now do in one day what used to take me several weeks.
    So what I am saying is stick with netbeans and the drag and drop, it sucks at first, but once you get to a point where you are comfortable with it and adding to the palette it will become a great tool.
    JSG

  • The drag and drop functionality is grayed out in Captivate 8. How do I turn this on?

    I'm trying to play with drag and drop functionality in Captivate 8, but it's grayed out. All the tutorials I've watched show it working, but in my project, I can't access it. Any ideas?

    I asked about this in another thread, to add a list of what is NOT supported in responsive projects to the documentation:
    objects detected by the HTML5 tracker
    Drag&Drop as you discovered
    line shape
    free polygon shape
    This is my list. Answer in another thread from the staff was: what is dimmed, grayed out is not available. Not a pleasant way to discover limitations, although I understand not everything could be implemented in this very first version of Captivate responsive design functionality.
    Lilybiri

  • Records Management - Drag and drop functionality

    Hi,
    I'm trying to find out how it is possible to limit 'drag and drop' functionality for nodes. For example, let's say we have model nodes A and B with all element types assigned and visible for all roles. I want to be able to automatically store documents in both A and B nodes but not to be able to drag and drop documents from node A to node B.
    Does anyone have idea if/how this is possible?
    Many thanks in advance!
    Tijana

    Hai,
    To restrict the drag and drop functionality, please check the function module SRM_REC_UPDATE_NODE_DESC. I havenu2019t implemented this but I guess this would help you.
    Regards
    Keerthika

  • HT4061 Drag and drop function in Windows 8 doesn't work with iTunes.

    How to import music files from Windows 8 to iTunes 11.0.3 x64? Drag and drop function doesn't work. Thank you!

    > Straight drag and drop to PS produced a warning message so, when I then tried to drag on to the PS task bar button, I got the Ø cursor but on moving into the PS window and releasing the mouse button there, the file opened.
    That's the strangest behavior that I would imagine. Are you using the default vista aero theme or you have turned down or using custom theme and visual effects?
    > it needs to be pointed out that this is a really bad habit that will smack you in the face one day...
    I don't understand what you mean. If you are concerned about viruses, in my understanding copying and opening a file from the internet which is what "Save image as" does, is less safe than coping and pasting pixels. Copying and pasting pixels is the same as coping and pasting text from your web browser, it can't execute hidden code. If that was possible everybody will get viruses at the moment text or pixels are displayed on your browser.
    By the way when you view a page from the internet, image files are already downloaded in the temp folder of your computer but only the browser uses them unless you open them from there and use in another program. So if you have a virus protection the images are already scanned.

  • How to I drag and drop from Customize Add On using a Wireless Mouse on a Laptop?

    I have been assisting a friend in installing Firefox. I have added Add On, but I cannot drag and drop them into the toolbars on the top. The tiny weenie add on tool bar stinks for those of us who are older and have weakened eyesight. How Can I Drap and Drop into the Toolbars on the Top using a laptop without a mouse?

    PS. I also tried drag-and-dropping to Photoshop, and it doesn't work either.
    I did more research online, and the more I research this, the more it seems that the LIGHTROOM DRAG AND DROP functionality works on MAC but not on PC...
    If it is the case, this would be a major annoyance.
    Some people said this feature worked on PC in Windows Vista.
    I tried running LR in compatibility more (Vista SP2), but this did not fix the issue.
    I am starting to wonder if this is a problem with LR running on WINDOWS x64 systems... (I am running WIN7 x64)

  • Does SAP ECL viewer has drag and drop functionality...

    Hi,
    Does ECL viewer has drag and drop functionality for example we can drag and drop file from windows sever to SAP. So that it can be used later on using BDN.
    Thanks.
    Regards,
    Rajesh.

    Implement this program,  it is a cut/paste solution.  Again, you must have the ECL component installed on your SAPgui.
    report zrich_0001 .
    parameters: p_check type c.
    start-of-selection.
    at selection-screen output.
      data: dockingleft   type ref to cl_gui_docking_container,
            dockingright  type ref to cl_gui_docking_container,
            ecl_viewer   type ref to cl_gui_ecl_2dviewer,
            html_viewer  type ref to cl_gui_html_viewer.
      data: repid type syrepid.
      data: url(2048) value 'c:'.
      repid = sy-repid.
      check dockingleft is initial.
      create object dockingleft
                  exporting repid     = repid
                            dynnr     = sy-dynnr
                            side      = dockingleft->dock_at_left
                            ratio     = 50
                            extension = 1000.
      create object html_viewer
           exporting
                parent    = dockingleft.
      call method html_viewer->show_url
           exporting
                url       = url.
      check dockingright is initial.
      create object dockingright
                  exporting repid     = repid
                            dynnr     = sy-dynnr
                            side      = dockingright->dock_at_right
                            ratio     = 50
                            extension = 1000.
      create object ecl_viewer
          exporting
             parent             = dockingright
          exceptions
             cntl_error         = 1
             cntl_system_error  = 2
             create_error       = 3
             lifetime_error     = 4
             others             = 5.
         call method ecl_viewer->create_toolbar
            exporting
                close_button      = ' '
                tools             = 'X'
                viewer            = 'X'
                navigation        = 'X'
                options           = 'X'
                viewer_openfile   = 'X'
                viewer_savefile   = 'X'
                tool_measurement  = 'X'
                remove_document   = ' '
            exceptions
                cntl_system_error = 1
                cntl_error        = 2
                cntb_btype_error  = 3
                dp_error          = 4 .
    Now drap a PDF file from the left container, and drop in the right side.  Slick, right?
    The ECL doesn't handle every file type,  but PDF works good.
    Regards,
    Rich Heilman

  • Drag and Drop Functionality within the SAP Portal

    Does anyone know if SAP Netweaver Portal 6.0 sp18 supports drag and drop technology.  A good comparison would be Google where a user can drag iViews around and place them where they would like.
    We are trying to build something similar to Google Gadgets with iViews and we would like our users to be able to add, remove, drag, and drop them in the Portal.
    Has anyone done something similar to where I would be able to leverage them for further questions.
    Any help is greatly appreciated.  Thank you.
    Jason

    Hi
    Were you able to find away of using the drag and drop functionality?
    I am wanting to use a similar functionality to Yahoo where people can just drag the iViews they want into the page and saving their personalised settings.  I am unable to find information as to what Portal release supports this functionality and how it works.  Would you be able to help?
    Many thanks
    Jag

  • How do I drag and drop an action onto a task flow?

    In How to pass View Object bind variable from ADF page John states that
    You should also consider dragging-and-dropping the executeWithParams operation on your task flow and wiring it to occur before your page instead of putting it in the page definition of the page itself - this way it is more clear what is happening, and is the recommended approach for 11g apps. When you drag-and-drop the operation, you can use the dialog to bind the parameter to your page-flow-scoped variable by supplying the proper EL there.
    How can I drag and drop the executeWithParams method onto a task flow. I am using 11.1.1.5.0 on LINUX?
    I'm presuming I a need a method action in my page flow.
    I have the following action defined in my page def file:
    <action IterBinding="localizedCustomerHierarchyViewIterator"
    id="executeQueryWithParamsForLocalizedCustomerHierarchyView"
    InstanceName="BusinessRulesAMDataControl.LocalizedCustomerHierarchyView"
    DataControl="BusinessRulesAMDataControl" RequiresUpdateModel="true"
    Action="executeWithParams">
    <NamedData NDName="RootEntityId"
    NDValue="#{pageFlowScope.recommendationRule.customerEntityId"
    NDType="java.lang.Long" NDOption="3"/>
    <NamedData NDName="Language"
    NDValue="#{pageFlowScope.recommendationRule.language}"
    NDType="java.lang.String" NDOption="3"/>
    </action>

    In summary, it appears you need the following artifacts in order to initialize a view object from parameters before rendering a .jsff view that relies on that view
    1) a method-call in task flow.xml file:
    <method-call id="executeWithParamsLocalizedCustomerHierarchyView">
    <method id="__5">#{bindings.executeWithParamsLocalizedCustomerHierarchyView.execute}</method>
    <outcome id="__12">
    <fixed-outcome id="__9">initializedLocalizedCustomerHierarchy</fixed-outcome>
    </outcome>
    </method-call>
    2) a control flow rule in the task flow .xml file whose source is (1) and whose destination is the view for which you want to intiialize a view object that supports an iterator that is bound to a list, tree, etc.
    3) an entry for the execute action in the databindings.cpx file
    <page path="/WEB-INF/[email protected]calizedCustomerHierarchyView"
    usageId="oracle_apps_br_view_RecommendationRulePFPageDef"/>
    4) the page def must be defined in the databindings.cpx file
    5) the page def needs to define action and iterator and list (or otherwise) that is used in UI.
    <iterator id="localizedCustomerHierarchyViewIterator"
    Binds="LocalizedCustomerHierarchyView"
    DataControl="BusinessRulesAMDataControl" RangeSize="25" Refresh="never">
    <sortCriteria>
    <sort attribute="Level" ascending="true"/>
    </sortCriteria>
    </iterator>
    <action IterBinding="localizedCustomerHierarchyViewIterator"
    id="executeWithParamsLocalizedCustomerHierarchyView"
    InstanceName="BusinessRulesAMDataControl.LocalizedCustomerHierarchyView"
    DataControl="BusinessRulesAMDataControl" RequiresUpdateModel="true"
    Action="executeWithParams">
    <NamedData NDName="RootEntityId"
    NDValue="#{pageFlowScope.recommendationRule.customerEntityId}"
    NDType="java.lang.Long"/>
    <NamedData NDName="Language"
    NDValue="#{pageFlowScope.recommendationRule.language}"
    NDType="java.lang.String"/>
    </action>
    <list ListOperMode="navigation"
    IterBinding="localizedCustomerHierarchyViewIterator"
    id="customerLocalizedEntityHierarchyList">
    <AttrNames>
    <Item Value="EntityName"/>
    </AttrNames>
    </list>
    6) a backing bean that provides the functions to initialize the parameters for execution
    The easiest way to get most of this is to drag the ExecuteWithParams from within the view in the datacontrols panel right onto the task flow diagram. The downside is that you are left with some pretty poorly named artifacts...
    Did I miss anything?
    -Klaus
    Edited by: klaus gross on Sep 29, 2011 1:00 PM

Maybe you are looking for

  • How can I sync Multiple devices with I tunes

    Hi, I only have one Itunes account but I have an I phone, my wife has an old i phone and my daughter a new ipod touch. Is there anyway that I we can have our own music all on my i tunes library but when I sync any of teh 3 devices it would just uploa

  • Messages.app shows phone numbers instead of names

    Can anyone help me configure Messages.app to show names instead of phone numbers (for iMessage/SMS)?  I'm running OS 10.10 Yosemite and my contacts are synced from iCloud.  Both my phone and mac are set to the same region and language. Thanks! G

  • Enhacement of FM -- Problem

    Hi, I am enhancing standard FM, as it is having implicit enhancements one at the top and one at the end, the problem here is i have one table in the FM which i  need to fill which is later used by FM to INsert entries into standard table, that table

  • Installed ATI Win 7 driver and now just displays wallpaper

    is this the correct place to enquire about this problem? ok.. my problem is that i just installed the windows 7 build 7600 version 6.1 ULTIMATE. I have tried installing the ATI win7 driver but after a reboot, i could only see the wallpaper and nothin

  • Porque en mi correo se ponan mas de 100 mensajes

    mis correos sí actualizan y me marcan mas de 1100 mensajes y yo no quiero eso