Hareeshchandera / jsplumb

Automatically exported from code.google.com/p/jsplumb
0 stars 0 forks source link

in my demo only image draggable but i want to image draggable with source & target point... #200

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
on click button call function appendThe... 

var delimitFileVar=0;

    var Element=[];

                function appendThe()
                {
        Element[delimitFileVar]=new Image();
    Element[delimitFileVar].src='delimitedfilesreadernio.jpg';
    Element[delimitFileVar].width='32';
    Element[delimitFileVar].height='32';
    Element[delimitFileVar].position='absolute';
        Element[delimitFileVar].id=delimitFileVar;
        Element[delimitFileVar].className='dragDemo';
        Element[delimitFileVar].name='image'                 

    jsPlumb.bind("ready",function()
        {                       

                                $("#divAdd").append(Element[delimitFileVar]);
                                    $("#"+ delimitFileVar).draggable();     
                                 jsPlumb.addEndpoint(''+delimitFileVar,sourceOption);                         
                                jsPlumb.addEndpoint(''+ delimitFileVar, targetOption);
                                jsPlumb.draggable(''+ delimitFileVar);

    });

    delimitFileVar++;
       }

Original issue reported on code.google.com by khatra.m...@gmail.com on 16 Feb 2012 at 12:10

GoogleCodeExporter commented 8 years ago
without a test page i can't help you with this.

Original comment by simon.po...@gmail.com on 16 Feb 2012 at 9:05

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
closing.  i thought a test page was attached at some stage but i don't see it 
now (and i was probably just going to ask for a jsfiddle anyway...test pages 
that i have to download are a bit painful), and there's been no action on this 
for a few weeks.

Original comment by simon.po...@gmail.com on 13 Mar 2012 at 1:03