Hi, I am currently using the drag and drop method with div and I’m
having some problems. While the Background script allows it to drag
and drop perfectly, the Image method constantly errors (picture
doesn’t always drag and the cursor changes into Ø at times).
Can someone please tell me how to fix this? Thanks!
Background:
<div style='border:0px;position:relative;background-repeat:no-
repeat;cursor:move;background-image:url("+MatchC['url']+"/
theme_photo/"+id+"/"+filename+");margin:"+line['Top']+" "+line['Left']
+";width:"+width+"px;height:"+height+"px;' onmousedown='layerMove($
(\"imgFor_"+num+"\"),event)'>
</div>
Image:
<div style='border:
0px;position:relative;cursor:move;margin:"+line['Top']+" "+line['Left']
+";width:"+width+"px;height:"+height+"px;' onmousedown='layerMove($
(\"imgFor_"+num+"\"),event)'><img src='"+MatchC['url']+"/
theme_photo/"+id+"/"+filename+"'></div>